[rygel] data: Fix desktop file generation
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] data: Fix desktop file generation
- Date: Thu, 18 Aug 2016 13:29:52 +0000 (UTC)
commit a4a1aa967d793a4366cae8967cdbdd978d7ba950
Author: Jens Georg <mail jensge org>
Date: Tue Aug 16 17:23:36 2016 +0200
data: Fix desktop file generation
Signed-off-by: Jens Georg <mail jensge org>
data/Makefile.am | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 4e4f54d..bbd6658 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -30,13 +30,12 @@ $(systemdservice_DATA): rygel.service.in Makefile
desktop_in_files = $(srcdir)/rygel.desktop.in $(srcdir)/rygel-preferences.desktop.in
desktop_DATA = rygel.desktop rygel-preferences.desktop
-$(desktop_in_files): $(srcdir)/rygel.desktop.in.in $(srcdir)/rygel-preferences.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 $@
+
preset_DATA = $(srcdir)/presets/avenc_aac.prs \
$(srcdir)/presets/avenc_mp2.prs \
$(srcdir)/presets/avenc_mpeg2video.prs \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]