diff options
author | ZenWalker <[email protected]> | 2016-06-24 11:17:22 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2016-06-24 23:14:17 +0200 |
commit | 0d3a5b087f4bb6c118abe34a14ea27b86583f812 (patch) | |
tree | 79e93750318b932a626668fe9e046b7ab2c896df /src/Makefile.am | |
parent | bcee9bdc706d1cf65bf800c2bcc96b236dab6ec5 (diff) | |
download | engrampa-0d3a5b087f4bb6c118abe34a14ea27b86583f812.tar.bz2 engrampa-0d3a5b087f4bb6c118abe34a14ea27b86583f812.tar.xz |
use GResource to store ui files
file-roller commit:
https://git.gnome.org/browse/file-roller/commit/?id=47619b987b77bdc258af9a554ba022c1f8834774
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 494b527..c4da5ed 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = commands sh +SUBDIRS = commands sh ui bin_PROGRAMS = engrampa libexec_PROGRAMS = engrampa-server @@ -45,7 +45,10 @@ BUILT_SOURCES = \ fr-marshal.c \ fr-marshal.h \ fr-enum-types.h \ - fr-enum-types.c + fr-enum-types.c \ + fr-resources.c \ + fr-resources.h \ + $(NULL) COMMON_SOURCES = \ actions.h \ @@ -190,6 +193,12 @@ fr-enum-types.c: typedefs.h fr-enum-types.h && (cmp -s xgen-$(@F) fr-enum-types.c || cp xgen-$(@F) fr-enum-types.c ) \ && rm -f xgen-$(@F) ) +fr-resources.c: engrampa.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies engrampa.gresource.xml) + $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name fr $(srcdir)/engrampa.gresource.xml + +fr-resources.h: engrampa.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies engrampa.gresource.xml) + $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name fr $(srcdir)/engrampa.gresource.xml + engrampa_SOURCES = \ $(COMMON_SOURCES) \ main.c @@ -214,7 +223,9 @@ if ENABLE_MAGIC engrampa_LDADD += $(MAGIC_LIBS) endif -EXTRA_DIST = fr-marshal.list +EXTRA_DIST = \ + engrampa.gresource.xml \ + fr-marshal.list CLEANFILES = $(BUILT_SOURCES) |