Re: patch for a build issue



Thomas Vander Stichele <thomas urgent rug ac be> writes:

> Hi,
> 
> i've been told that "not having gdkenumtypes.h built" is a known issue, 
> but I'd thought I'd submit a patch that works for me anyway.
> 
> The patch just makes sure that if Make figures out it needs this file, it 
> will go into the right dir and build it automatically.
> 
> If this is not the right fix, or if others have been worked on, I'd be 
> willing to look into it a bit further, but this should be fixable and it's 
> silly to not have it fixed IMO ;)
> 
> Be sure to flame me if this is the wrong fix and explain to me why it is 
> wrong ;)

From: http://bugzilla.gnome.org/show_bug.cgi?id=86587

  When I looked at it yesterday, the two options looked like:

   a) An evil rule in x11 like:

      $(gdk_x11_la_OBJECTS): update-enum-types

      update-enum-types:
              @cd $(top_builddir)/gdk && make $(AM_MAKEFLAGS) gdkenumtypes.h

      .PHONY: update-enum-types

   b) Use BUILT_SOURCES

  I'm not sure how reliable a) would be ... I've had problems
  before with rules like that.

  b) is problematical without upgrading automake 1.5 or 1.6, since 
  BUILT_SOURCES has weird side effects in automake 1.4. 

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]