summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-08-29 14:25:12 +0200
committerMartin Wimpress <[email protected]>2017-01-13 23:29:37 +0000
commit3161a675e518d9e3d21859c417c38255d5c60b51 (patch)
treec4e11b0866c47067a65735e54ed67783db633955
parent090b69a6b8fcc1ac23e63e994dc5818e3c3d2bdb (diff)
downloadmate-calc-3161a675e518d9e3d21859c417c38255d5c60b51.tar.bz2
mate-calc-3161a675e518d9e3d21859c417c38255d5c60b51.tar.xz
appdata: Add autotool bits
-rw-r--r--data/Makefile.am14
-rw-r--r--data/mate-calc.appdata.xml.in (renamed from data/mate-calc.appdata.xml)0
-rw-r--r--po/POTFILES.in1
3 files changed, 13 insertions, 2 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index d8a4671..6592162 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -6,8 +6,12 @@ ui_DATA = \
buttons-financial.ui \
buttons-programming.ui
+appdatadir = $(datadir)/appdata
+appdata_in_files = mate-calc.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
gsettings_SCHEMAS = org.mate.calc.gschema.xml
Utilitiesdir = $(datadir)/applications
@@ -17,9 +21,15 @@ Utilities_DATA = $(Utilities_in_files:.desktop.in=.desktop)
man1_MANS = mate-calc.1 mate-calc-cmd.1
-EXTRA_DIST = $(ui_DATA) org.mate.calc.gschema.xml.in mate-calc.desktop.in $(man1_MANS)
+EXTRA_DIST = \
+ $(ui_DATA) \
+ org.mate.calc.gschema.xml.in \
+ mate-calc.desktop.in \
+ $(appdata_in_files) \
+ $(man1_MANS)
DISTCLEANFILES = \
Makefile.in \
mate-calc.desktop \
+ $(appdata_DATA) \
$(gsettings_SCHEMAS)
diff --git a/data/mate-calc.appdata.xml b/data/mate-calc.appdata.xml.in
index 13c634f..13c634f 100644
--- a/data/mate-calc.appdata.xml
+++ b/data/mate-calc.appdata.xml.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 6faa808..fe8c21b 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -6,6 +6,7 @@
[type: gettext/glade]data/buttons-financial.ui
[type: gettext/glade]data/buttons-programming.ui
[type: gettext/glade]data/preferences.ui
+data/mate-calc.appdata.xml.in
data/mate-calc.desktop.in
data/org.mate.calc.gschema.xml.in
src/currency.c