diff options
author | infirit <[email protected]> | 2014-11-09 22:57:55 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-09 22:57:55 +0100 |
commit | 77bbd2b161f22e3c4880bdcb5bf0b4d3e1fc4d3a (patch) | |
tree | 97a8b00cbae02cf5c2019ed4aa5a86fc69695dff | |
parent | 202cef3f43f1e74ff63adc33915327037553bc47 (diff) | |
download | atril-77bbd2b161f22e3c4880bdcb5bf0b4d3e1fc4d3a.tar.bz2 atril-77bbd2b161f22e3c4880bdcb5bf0b4d3e1fc4d3a.tar.xz |
appdata: Add autotool bits for appdata
-rw-r--r-- | data/Makefile.am | 16 | ||||
-rw-r--r-- | data/atril.appdata.xml.in (renamed from data/atril.appdata.xml) | 0 | ||||
-rw-r--r-- | po/POTFILES.in | 1 |
3 files changed, 15 insertions, 2 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 8abf0bd9..5e5473a3 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -48,6 +48,14 @@ $(service_DATA): $(service_in_files) Makefile endif # +# App data file +# +@INTLTOOL_XML_RULE@ +appdatadir = $(datadir)/appdata +appdata_in_files = atril.appdata.xml.in +appdata_DATA = $(appdata_in_files:.xml.in=.xml) + +# # GSettings schema # gsettingsschema_in_files = org.mate.Atril.gschema.xml.in @@ -56,14 +64,14 @@ gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) .PRECIOUS: $(gsettings_SCHEMAS) -@INTLTOOL_XML_NOMERGE_RULE@ - # include the appropriate makefile rules for schema handling @GSETTINGS_RULES@ gsettingsconvertdir = $(datadir)/MateConf/gsettings gsettingsconvert_DATA = atril.convert + + # # GTK icon cache # @@ -90,6 +98,7 @@ update-icon-cache: EXTRA_DIST = \ $(ui_DATA) \ $(DESKTOP_IN_FILES) \ + $(appdata_in_files) \ $(gsettingsschema_in_files) \ org.mate.atril.Daemon.service.in \ $(man_MANS) \ @@ -101,6 +110,9 @@ EXTRA_DIST = \ # Clean up properly # +CLEANFILES = \ + atril.appdata.xml + DISTCLEANFILES = \ $(DESKTOP_FILES) \ $(gsettings_SCHEMAS) \ diff --git a/data/atril.appdata.xml b/data/atril.appdata.xml.in index 73ec303c..73ec303c 100644 --- a/data/atril.appdata.xml +++ b/data/atril.appdata.xml.in diff --git a/po/POTFILES.in b/po/POTFILES.in index 4f55dc6a..29dec83b 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -22,6 +22,7 @@ cut-n-paste/smclient/eggsmclient.c cut-n-paste/toolbar-editor/egg-editable-toolbar.c cut-n-paste/toolbar-editor/egg-toolbar-editor.c cut-n-paste/zoom-control/ephy-zoom.h +data/atril.appdata.xml.in data/atril.desktop.in.in data/org.mate.Atril.gschema.xml.in previewer/ev-previewer.c |