[glom] GResource building: Use the --internal option.



commit 507bb77725c0c71ccb3f5ced512128ea07ce35ad
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Oct 29 12:44:57 2013 +0100

    GResource building: Use the --internal option.

 Makefile_glom.am    |    4 ++--
 Makefile_libglom.am |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Makefile_glom.am b/Makefile_glom.am
index a936831..fd4b9e1 100644
--- a/Makefile_glom.am
+++ b/Makefile_glom.am
@@ -33,13 +33,13 @@ glom_glom_CPPFLAGS = $(glom_includes) $(GLOM_CFLAGS) $(PYTHON_CPPFLAGS) $(BOOST_
 glom_resource_file = $(srcdir)/data/glom.gresource.xml
 BUILT_SOURCES += data/glom-resources.c
 data/glom-resources.c: $(glom_resource_file) $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) 
--generate-dependencies $(glom_resource_file))
-       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source 
$(glom_resource_file)
+       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --internal --target=$@ --sourcedir=$(srcdir) --generate-source 
$(glom_resource_file)
 
 # Generate the GResource source file for example .glom files:
 glom_examples_resource_file = $(srcdir)/examples/glom-examples.gresource.xml
 BUILT_SOURCES += examples/glom-examples-resources.c
 examples/glom-examples-resources.c: $(glom_examples_resource_file) $(shell $(GLIB_COMPILE_RESOURCES) 
--sourcedir=$(srcdir) --generate-dependencies $(glom_examples_resource_file))
-       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source 
$(glom_examples_resource_file)
+       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --internal --target=$@ --sourcedir=$(srcdir) --generate-source 
$(glom_examples_resource_file)
 
 EXTRA_DIST += \
        $(glom_resource_file) \
diff --git a/Makefile_libglom.am b/Makefile_libglom.am
index e0a668d..f02923d 100644
--- a/Makefile_libglom.am
+++ b/Makefile_libglom.am
@@ -68,7 +68,7 @@ glom_libglom_libglom_ GLOM_ABI_VERSION@_la_LIBADD = $(libglom_all_libs)
 libglom_resource_file = $(srcdir)/glom/libglom/data/libglom.gresource.xml
 BUILT_SOURCES = glom/libglom/data/libglom-resources.c
 glom/libglom/data/libglom-resources.c: $(libglom_resource_file) $(shell $(GLIB_COMPILE_RESOURCES) 
--sourcedir=$(srcdir) --generate-dependencies $(libglom_resource_file))
-       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source 
$(libglom_resource_file)
+       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --internal --target=$@ --sourcedir=$(srcdir) --generate-source 
$(libglom_resource_file)
 
 EXTRA_DIST = \
        $(libglom_resource_file) \


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