gtk-demo: Rename resources file

More tests want to use resources, so make that possible.
This commit is contained in:
Benjamin Otte 2012-05-13 20:00:27 +02:00 committed by Cosimo Cecchi
parent 04e8a8a5ed
commit 45d0313001
2 changed files with 5 additions and 5 deletions

View File

@ -71,12 +71,12 @@ LDADDS = \
bin_PROGRAMS = gtk3-demo gtk3-demo-application
BUILT_SOURCES = demos.h application_resources.c
BUILT_SOURCES = demos.h demo_resources.c
EXTRA_DIST += \
$(IMAGEFILES) \
demo.ui \
application.gresource.xml \
demo.gresource.xml \
application.ui \
menus.ui \
theming.ui \
@ -105,12 +105,12 @@ gtk3_demo_LDFLAGS = -export-dynamic
gtk3_demo_application_SOURCES = \
application-standalone.c \
application_resources.c
demo_resources.c
gtk3_demo_application_LDADD = $(LDADDS)
application_resources.c: application.gresource.xml gtk-logo-24.png gtk-logo-48.png application.ui menus.ui
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $(srcdir)/application.gresource.xml
demo_resources.c: demo.gresource.xml gtk-logo-24.png gtk-logo-48.png application.ui menus.ui
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $(srcdir)/demo.gresource.xml
IMAGEFILES= alphatest.png \
apple-red.png \