summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am14
-rw-r--r--data/mate-calc.appdata.xml.in (renamed from data/mate-calc.appdata.xml)0
2 files changed, 12 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
+@INTLTOOL_XML_RULE@
+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
-@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@
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