diff options
author | Daiki Ueno <ueno@gnu.org> | 2015-03-07 21:12:49 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2015-03-07 21:14:40 +0900 |
commit | 4d2115c62a723dc9e375433261c1bf3e45928815 (patch) | |
tree | 53b790211511936fb8318d4a6e24924064f61be4 | |
parent | 1382ab8436e83fea205511e9896360eb5d0a4bb7 (diff) | |
download | external_gettext-4d2115c62a723dc9e375433261c1bf3e45928815.zip external_gettext-4d2115c62a723dc9e375433261c1bf3e45928815.tar.gz external_gettext-4d2115c62a723dc9e375433261c1bf3e45928815.tar.bz2 |
hello-c-gnome3: Simplify variable substitution
* gettext-tools/examples/hello-c-gnome3/Makefile.am (hello.desktop):
Remove unnecessary $srcdir check.
-rw-r--r-- | gettext-tools/examples/ChangeLog | 5 | ||||
-rw-r--r-- | gettext-tools/examples/hello-c-gnome3/Makefile.am | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gettext-tools/examples/ChangeLog b/gettext-tools/examples/ChangeLog index ce8a284..f847aca 100644 --- a/gettext-tools/examples/ChangeLog +++ b/gettext-tools/examples/ChangeLog @@ -1,3 +1,8 @@ +2015-03-07 Daiki Ueno <ueno@gnu.org> + + * hello-c-gnome3/Makefile.am (hello.desktop): Remove unnecessary + $srcdir check. + 2015-03-06 Daiki Ueno <ueno@gnu.org> * hello-c-gnome3/Makefile.am: Suggest hello.desktop.in should be diff --git a/gettext-tools/examples/hello-c-gnome3/Makefile.am b/gettext-tools/examples/hello-c-gnome3/Makefile.am index a8f7f81..428bb86 100644 --- a/gettext-tools/examples/hello-c-gnome3/Makefile.am +++ b/gettext-tools/examples/hello-c-gnome3/Makefile.am @@ -50,9 +50,7 @@ hello.desktop.in: hello.desktop.in.in hello.desktop: hello.desktop.in @rm -f $@ $@-t - $(AM_V_GEN) srcdir=''; \ - test -f ./$< || srcdir=$(srcdir)/; \ - sed -e "s|@bindir[@]|$(bindir)|" $< > $@-t && mv $@-t $@ + $(AM_V_GEN) sed -e 's|@bindir[@]|$(bindir)|g' $< > $@-t && mv $@-t $@ CLEANFILES = $(BUILT_SOURCES) hello.desktop $(desktop_DATA) |