summaryrefslogtreecommitdiff
path: root/misc/Makefile.am
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-20 15:11:08 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-20 15:11:08 +0200
commitcb612a12b952e349b96d427645aaeb55d15f509a (patch)
treef29298f41d2a7ea2a976616243aca64c2c2547ce /misc/Makefile.am
parente7be93745e4a2ff3aa255227bef7b9d3b733aafa (diff)
parent143bfc9f801c84428074312d661f8e08803df83b (diff)
Merge tag 'upstream/0.23.5'
Upstream version 0.23.5
Diffstat (limited to 'misc/Makefile.am')
-rw-r--r--misc/Makefile.am32
1 files changed, 32 insertions, 0 deletions
diff --git a/misc/Makefile.am b/misc/Makefile.am
new file mode 100644
index 0000000..6376879
--- /dev/null
+++ b/misc/Makefile.am
@@ -0,0 +1,32 @@
+gsettings_SCHEMAS = \
+ org.yorba.shotwell.gschema.xml \
+ org.yorba.shotwell-extras.gschema.xml
+
+appdata_in_files = $(srcdir)/shotwell.appdata.xml.in
+appdata_XML = \
+ shotwell.appdata.xml
+
+desktopdir = $(datadir)/applications
+desktop_DATA = shotwell.desktop shotwell-viewer.desktop
+
+$(appdata_XML) : $(appdata_in_files)
+ $(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
+
+%.desktop.in : %.desktop.in.in
+ $(AM_V_GEN) sed -e 's|@VERSION[@]|$(VERSION)|g' $< > $@
+
+%.desktop : %.desktop.in
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+
+@GSETTINGS_RULES@
+@APPDATA_XML_RULES@
+
+CLEANFILES = $(appdata_XML) $(desktop_DATA) $(desktop_in_files)
+
+dist_noinst_DATA = \
+ $(srcdir)/shotwell.desktop.in.in \
+ $(srcdir)/shotwell-viewer.desktop.in.in \
+ $(gsettings_SCHEMAS) \
+ $(appdata_in_files)
+
+-include $(top_srcdir)/git.mk