diff options
author | Christian Persch <[email protected]> | 2012-06-12 19:51:29 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-03-22 21:24:30 +0100 |
commit | c3fe25efdf8861b9e4582d84a320f37e3b89ccbd (patch) | |
tree | db2cd7a55e3bef9780c1ff710ee5567fd7b4185c /previewer/Makefile.am | |
parent | 9668d3f72eda80945a22aaed3ec5ff5079cc62f4 (diff) | |
download | atril-c3fe25efdf8861b9e4582d84a320f37e3b89ccbd.tar.bz2 atril-c3fe25efdf8861b9e4582d84a320f37e3b89ccbd.tar.xz |
previewer: Use GResource for data files
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-6&id=45be486
Diffstat (limited to 'previewer/Makefile.am')
-rw-r--r-- | previewer/Makefile.am | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/previewer/Makefile.am b/previewer/Makefile.am index 462665ac..91241f30 100644 --- a/previewer/Makefile.am +++ b/previewer/Makefile.am @@ -5,11 +5,12 @@ man_MANS = atril-previewer.1 atril_previewer_SOURCES = \ ev-previewer.c \ + ev-previewer-resources.c \ ev-previewer-window.h \ - ev-previewer-window.c + ev-previewer-window.c \ + $(NULL) atril_previewer_CPPFLAGS = \ - -DATRILDATADIR=\"$(pkgdatadir)\" \ -I$(top_srcdir) \ -I$(top_builddir) \ -I$(top_srcdir)/libdocument \ @@ -33,6 +34,17 @@ atril_previewer_LDADD = \ $(PREVIEWER_LIBS) \ $(WEBKIT_LIBS) -EXTRA_DIST = $(man_MANS) +ev-previewer-resources.c: previewer.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/previewer.gresource.xml) + $(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate-source --c-name ev_previewer $< + +EXTRA_DIST = \ + previewer.gresource.xml \ + previewer-ui.xml \ + $(man_MANS) \ + $(NULL) + +CLEANFILES = \ + ev-previewer-resources.c \ + $(NULL) -include $(top_srcdir)/git.mk |