Commit 255a39c9 authored by Jens Georg's avatar Jens Georg

Fix .desktop file generation

Fixes https://bugs.archlinux.org/task/50129Signed-off-by: Jens Georg's avatarJens Georg <mail@jensge.org>
parent 9b5ed5a2
......@@ -7,19 +7,17 @@ appdata_XML = \
shotwell.appdata.xml
desktopdir = $(datadir)/applications
desktop_in_files = shotwell.desktop.in shotwell-viewer.desktop.in
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_files): $(srcdir)/shotwell.desktop.in.in $(srcdir)/shotwell-viewer.desktop.in.in
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
# Substitute variables in a Desktop Entry file.
$(desktop_DATA): $(desktop_in_files)
%.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@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment