diff options
author | Piotr Drąg <piotrdrag@gmail.com> | 2017-08-01 23:08:34 +0200 |
---|---|---|
committer | Piotr Drąg <piotrdrag@gmail.com> | 2017-08-03 14:22:04 +0200 |
commit | b218bb838a806accfc67cdf44fccc1041bb4ad31 (patch) | |
tree | 2e4737894cc2ac04b61095c61d89a3d80321d760 /libgnomekbd | |
parent | be2c603c3ff0b430fd1a10f9a66e64bc1a52d735 (diff) | |
download | libgnomekbd-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.am | 9 |
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 |