summaryrefslogtreecommitdiff
path: root/libgnomekbd
diff options
context:
space:
mode:
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