summaryrefslogtreecommitdiff
path: root/data/Makefile.am
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 /data/Makefile.am
parent090b69a6b8fcc1ac23e63e994dc5818e3c3d2bdb (diff)
downloadmate-calc-3161a675e518d9e3d21859c417c38255d5c60b51.tar.bz2
mate-calc-3161a675e518d9e3d21859c417c38255d5c60b51.tar.xz
appdata: Add autotool bits
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am14
1 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)