[goobox] fixed computation of the resources dependency list



commit e463938a9408411101c9c513392d04cf251203ad
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Dec 4 15:46:01 2012 +0100

    fixed computation of the resources dependency list

 src/Makefile.am |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index d2bb267..eea5784 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -92,10 +92,12 @@ goo-marshal.c: goo-marshal.list $(GLIB_GENMARSHAL)
 	echo "#include \"goo-marshal.h\"" > $@ && \
 	$(GLIB_GENMARSHAL) $< --body --prefix=goo_marshal >> $@
 
-goo-resources.c: goobox.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies goobox.gresource.xml)
+RESOURCES_DEP = $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir=$(srcdir) $(srcdir)/goobox.gresource.xml)
+
+goo-resources.c: goobox.gresource.xml $(RESOURCES_DEP)
 	$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name goo $(srcdir)/goobox.gresource.xml
 
-goo-resources.h: goobox.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies goobox.gresource.xml)
+goo-resources.h: goobox.gresource.xml $(RESOURCES_DEP)
 	$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name goo $(srcdir)/goobox.gresource.xml
 
 goobox_LDADD = 				\



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