forked from AuroraMiddleware/gtk
gtk-demo/Makefile: Really get deps of C GResource
The XML resides in $(srcdir), not $(builddir); it is not a built source. Using the latter, changes to the referenced files did not cause rebuild.
This commit is contained in:
parent
15a3747406
commit
1421855234
@ -153,7 +153,7 @@ gtk3_demo_application_SOURCES = \
|
|||||||
|
|
||||||
gtk3_demo_application_LDADD = $(LDADDS)
|
gtk3_demo_application_LDADD = $(LDADDS)
|
||||||
|
|
||||||
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(builddir)/demo.gresource.xml)
|
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/demo.gresource.xml)
|
||||||
|
|
||||||
demo_resources.c: demo.gresource.xml $(resource_files)
|
demo_resources.c: demo.gresource.xml $(resource_files)
|
||||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $(srcdir)/demo.gresource.xml
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $(srcdir)/demo.gresource.xml
|
||||||
|
Loading…
Reference in New Issue
Block a user