mirror of
https://https.git.savannah.gnu.org/git/gettext.git
synced 2026-01-26 15:39:11 +00:00
hello-c-gnome3: Simplify the Desktop Entry rules
* hello-c-gnome3/Makefile.am (hello.desktop.in): Don't use a temporary file. (hello.desktop): Likewise.
This commit is contained in:
parent
3231fe8803
commit
ac1632889d
@ -1,3 +1,9 @@
|
||||
2015-10-08 Daiki Ueno <ueno@gnu.org>
|
||||
|
||||
* hello-c-gnome3/Makefile.am (hello.desktop.in): Don't use a
|
||||
temporary file.
|
||||
(hello.desktop): Likewise.
|
||||
|
||||
2015-09-11 Daiki Ueno <ueno@gnu.org>
|
||||
|
||||
* gettext 0.19.6 released.
|
||||
|
||||
@ -45,12 +45,11 @@ desktop_DATA = hello.desktop
|
||||
# processed earlier than the variable substitution below. Otherwise,
|
||||
# the 'msgfmt' command will be required at compile-time.
|
||||
hello.desktop.in: hello.desktop.in.in
|
||||
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -o $@-t \
|
||||
-d $(top_srcdir)/po && mv $@-t $@
|
||||
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
|
||||
|
||||
# Substitute variables in a Desktop Entry file.
|
||||
hello.desktop: hello.desktop.in
|
||||
@rm -f $@ $@-t
|
||||
$(AM_V_GEN) sed -e 's|@bindir[@]|$(bindir)|g' $< > $@-t && mv $@-t $@
|
||||
$(AM_V_GEN) sed -e 's|@bindir[@]|$(bindir)|g' $< > $@
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES) hello.desktop $(desktop_DATA)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user