summaryrefslogtreecommitdiff
path: root/libgnomekbd
diff options
context:
space:
mode:
authorPiotr Drąg <piotrdrag@gmail.com>2017-08-01 23:08:34 +0200
committerPiotr Drąg <piotrdrag@gmail.com>2017-08-03 14:22:04 +0200
commitb218bb838a806accfc67cdf44fccc1041bb4ad31 (patch)
tree2e4737894cc2ac04b61095c61d89a3d80321d760 /libgnomekbd
parentbe2c603c3ff0b430fd1a10f9a66e64bc1a52d735 (diff)
downloadlibgnomekbd-b218bb838a806accfc67cdf44fccc1041bb4ad31.tar.gz
build: Fix desktop file generation
https://bugzilla.gnome.org/show_bug.cgi?id=778089
Diffstat (limited to 'libgnomekbd')
-rw-r--r--libgnomekbd/Makefile.am9
1 files changed, 4 insertions, 5 deletions
diff --git a/libgnomekbd/Makefile.am b/libgnomekbd/Makefile.am
index 577ed02..7419c53 100644
--- a/libgnomekbd/Makefile.am
+++ b/libgnomekbd/Makefile.am
@@ -108,13 +108,12 @@ desktopdir = $(datadir)/applications
desktop_in_files = gkbd-keyboard-display.desktop.in
desktop_DATA = gkbd-keyboard-display.desktop
-$(desktop_in_files): gkbd-keyboard-display.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 $@
+
noinst_HEADERS = $(extra_nih) \
gkbd-config-private.h