summaryrefslogtreecommitdiff
path: root/misc/Makefile.am
blob: aa9a2bdcbda39766c46b184706e8dea9d104c0cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
gsettings_SCHEMAS = \
	org.yorba.shotwell.gschema.xml \
	org.yorba.shotwell-extras.gschema.xml

appstream_in_files = $(srcdir)/shotwell.appdata.xml.in
appstream_XML = \
	shotwell.appdata.xml

desktopdir = $(datadir)/applications
desktop_DATA = shotwell.desktop shotwell-viewer.desktop

$(appstream_XML) : $(appstream_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@
@APPSTREAM_XML_RULES@

CLEANFILES = $(appstream_XML) $(desktop_DATA) $(desktop_in_files)

dist_noinst_DATA = \
	$(srcdir)/shotwell.desktop.in.in \
	$(srcdir)/shotwell-viewer.desktop.in.in \
	$(gsettings_SCHEMAS) \
	$(appstream_in_files)

-include $(top_srcdir)/git.mk