summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-24 04:13:14 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-24 04:13:14 +0200
commit843ddeeb854bf86ee9c153dc3f32ae4823dc7a29 (patch)
tree02c1de7f22542200e4112c4cce7c8ba47b12cbf0 /data/Makefile.am
parentaf30a0bf49491fd5e9542c6563685cd4ebfe1eed (diff)
parentbfca57fb52ab7101f701560a2e6feb3a388ef5bf (diff)
Merge tag 'upstream/3.21.90'
Upstream version 3.21.90
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am25
1 files changed, 17 insertions, 8 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index e367c9e..5f421a0 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,21 +1,30 @@
-SUBDIRS = icons appdata
+SUBDIRS = icons
desktopdir = $(datadir)/applications
-desktop_DATA = simple-scan.desktop
-@INTLTOOL_DESKTOP_RULE@
-@INTLTOOL_XML_NOMERGE_RULE@
+desktop_in_files = simple-scan.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+
+$(desktop_DATA): $(desktop_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
gsettings_SCHEMAS = org.gnome.SimpleScan.gschema.xml
@GSETTINGS_RULES@
+appstream_in_files = simple-scan.appdata.xml.in
+appstream_XML = $(appstream_in_files:.appdata.xml.in=.appdata.xml)
+@APPSTREAM_XML_RULES@
+
+$(appstream_XML): $(appstream_in_files)
+ $(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
+
dist_man1_MANS = simple-scan.1
-EXTRA_DIST = simple-scan.desktop.in \
- org.gnome.SimpleScan.gschema.xml.in \
+EXTRA_DIST = $(desktop_in_files) \
+ $(appstream_in_files) \
+ $(gsettings_SCHEMAS) \
simple-scan.ui \
simple-scan.gresource.xml
DISTCLEANFILES = \
- $(schema_DATA) \
$(desktop_DATA) \
- $(gsettings_SCHEMAS)
+ $(appstream_XML)