]> Pileus Git - ~andy/gtk/commitdiff
gtk-demo: Rename resources file
authorBenjamin Otte <otte@redhat.com>
Sun, 13 May 2012 18:00:27 +0000 (20:00 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 30 May 2012 17:17:22 +0000 (13:17 -0400)
More tests want to use resources, so make that possible.

demos/gtk-demo/Makefile.am
demos/gtk-demo/demo.gresource.xml [moved from demos/gtk-demo/application.gresource.xml with 100% similarity]

index 820ed51d89b874871ba1ae8dc33cbc5f88ce6cc8..392eec8ddca2fa88176176349d094c107072b4c4 100644 (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           \