summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am20
1 files changed, 11 insertions, 9 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index c99f807..b436f12 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,23 +1,25 @@
SUBDIRS = icons
-uidir = $(datadir)/simple-scan
-ui_DATA = simple-scan.ui
-
-utilitiesdir = $(datadir)/applications
-utilities_in_files = simple-scan.desktop.in
-utilities_DATA = $(utilities_in_files:.desktop.in=.desktop)
+desktopdir = $(datadir)/applications
+desktop_DATA = simple-scan.desktop
@INTLTOOL_DESKTOP_RULE@
+appdatadir = $(datadir)/appdata
+dist_appdata_DATA = simple-scan.appdata.xml
+
gsettings_SCHEMAS = org.gnome.SimpleScan.gschema.xml
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@
-man1_MANS = simple-scan.1
+dist_man1_MANS = simple-scan.1
-EXTRA_DIST = $(ui_DATA) $(utilities_in_files) org.gnome.SimpleScan.gschema.xml.in $(man1_MANS)
+EXTRA_DIST = simple-scan.desktop.in \
+ org.gnome.SimpleScan.gschema.xml.in \
+ simple-scan.ui \
+ simple-scan.gresource.xml
DISTCLEANFILES = \
Makefile.in \
$(schema_DATA) \
- $(utilities_DATA) \
+ $(desktop_DATA) \
$(gsettings_SCHEMAS)