Re: [PATCH 2/2] build: Fixed gir build rules



On 27/09/10 20:14, Víctor M. Jáquez L. wrote:
> On Wed, Sep 22, 2010 at 04:46:01PM +0200, Simón Pena wrote:
...
>> +Grl_ GRL_MAJORMINOR_NORM@_gir_INCLUDES = GObject-2.0 GModule-2.0
>> +Grl_ GRL_MAJORMINOR_NORM@_gir_CFLAGS = $(lib GRL_NAME@_la_CFLAGS)
>> +Grl_ GRL_MAJORMINOR_NORM@_gir_LIBS = lib GRL_NAME@.la
>> +Grl_ GRL_MAJORMINOR_NORM@_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
>>  INTROSPECTION_GIRS += Grl- GRL_MAJORMINOR@.gir
>>  
>>  girdir = $(datadir)/gir-1.0
> 
> I've been reticent to push this patch just because I haven't see this pattern
> in any other project, but I can't foresee the reason.
> 
> Can somebody shed a light on this?

I've found that at least libchamplain[1] and log4g[2] are using it. The
first time I searched for this in other projects I couldn't find
anything, so maybe it's a matter of time for them to do it this way.

Best regars,

Simon

[1] http://git.gnome.org/browse/libchamplain/tree/champlain/Makefile.am#n155
[2] http://github.com/msteinert/log4g/blob/master/log4g/Makefile.am#L119


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