diff options
author | Christian Persch <[email protected]> | 2012-06-12 20:02:34 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-03-22 21:24:30 +0100 |
commit | 11fc5dc635d544b7d19b5774ab11dcd5e5c2638c (patch) | |
tree | 227a2f3c917ddb6e87773e92cf0ec04ea5969619 /shell/Makefile.am | |
parent | 5d51dc6793aaf4147ebee75072cdc09333b91fc6 (diff) | |
download | atril-11fc5dc635d544b7d19b5774ab11dcd5e5c2638c.tar.bz2 atril-11fc5dc635d544b7d19b5774ab11dcd5e5c2638c.tar.xz |
shell: Use GResource for data files
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=ba06a5e
Diffstat (limited to 'shell/Makefile.am')
-rw-r--r-- | shell/Makefile.am | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/shell/Makefile.am b/shell/Makefile.am index 1bf3cba4..ea8d91d8 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -65,6 +65,8 @@ atril_SOURCES= \ ev-properties-license.h \ ev-open-recent-action.c \ ev-open-recent-action.h \ + ev-resources.c \ + ev-resources.h \ ev-utils.c \ ev-utils.h \ ev-window.c \ @@ -115,7 +117,8 @@ atril_LDADD= \ $(top_builddir)/libmisc/libevmisc.la \ $(SHELL_LIBS) -BUILT_SOURCES = +BUILT_SOURCES = \ + ev-resources.c if ENABLE_DBUS BUILT_SOURCES += \ @@ -150,9 +153,13 @@ atrild_LDADD= \ endif EXTRA_DIST = \ + atril-ui.xml \ + atril-toolbar.xml \ + atril.gresource.xml \ ev-gdbus.xml \ ev-daemon-gdbus.xml + ev-gdbus-generated.c ev-gdbus-generated.h: ev-gdbus.xml Makefile $(AM_V_GEN) $(GDBUS_CODEGEN) \ --interface-prefix=org.mate.atril \ @@ -169,6 +176,9 @@ ev-daemon-gdbus-generated.c ev-daemon-gdbus-generated.h: ev-daemon-gdbus.xml Mak --generate-c-code ev-daemon-gdbus-generated \ $< +ev-resources.c: atril.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/atril.gresource.xml) + $(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate-source --c-name ev $< + DISTCLEANFILES = $(BUILT_SOURCES) -include $(top_srcdir)/git.mk |