diff options
author | Laurent Bigonville <l.bigonville@edpnet.be> | 2011-05-04 17:42:59 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2011-05-04 17:42:59 -0400 |
commit | cb6011eca0fb18e98cd671630751e465e2095404 (patch) | |
tree | b22578ec0c99c100f1826579810bffb8d93fb984 | |
parent | 8ae70b822d47b3b0f57aa16bc34070ca270b92f4 (diff) | |
download | gupnp-igd-cb6011eca0fb18e98cd671630751e465e2095404.tar.gz |
Use variable for glib-genmarshal
Otherwise the build fails if it is installed outside of the path
-rw-r--r-- | libgupnp-igd/Makefile.am | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libgupnp-igd/Makefile.am b/libgupnp-igd/Makefile.am index 928088f..4abb1f1 100644 --- a/libgupnp-igd/Makefile.am +++ b/libgupnp-igd/Makefile.am @@ -28,13 +28,13 @@ BUILT_SOURCES = \ gupnp-simple-igd-marshal.h gupnp-simple-igd-marshal.h: gupnp-simple-igd-marshal.list Makefile - glib-genmarshal --header --prefix=_gupnp_simple_igd_marshal $(srcdir)/$< > $@.tmp - mv $@.tmp $@ + $(AM_V_GEN)$(GLIB_GENMARSHAL) --header --prefix=_gupnp_simple_igd_marshal $< > $@.tmp + @mv $@.tmp $@ gupnp-simple-igd-marshal.c: gupnp-simple-igd-marshal.list Makefile - echo "#include \"glib-object.h\"" >> $@.tmp - echo "#include \"gupnp-simple-igd-marshal.h\"" >> $@.tmp - glib-genmarshal --body --prefix=_gupnp_simple_igd_marshal $(srcdir)/$< >> $@.tmp + $(AM_V_GEN)echo "#include \"glib-object.h\"" > $@.tmp && \ + echo "#include \"gupnp-simple-igd-marshal.h\"" >> $@.tmp && \ + $(GLIB_GENMARSHAL) --body --prefix=_gupnp_simple_igd_marshal $< >> $@.tmp && \ mv $@.tmp $@ libgupnp_igd_1_0_la_LDFLAGS = -version-info $(LTVERSION) \ |