diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-04-24 23:46:20 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-04-24 23:49:26 +0200 |
commit | fd584ec6707ae5b6e7b07fe19443b513fb0ba62b (patch) | |
tree | bfe42cbd8d3d055eb4dbb72fd010253b9c8266d0 /meta | |
parent | 4a81f5b5d3800aafbc25452e50459c1ba6e29fea (diff) |
build: Clean up rules for meta/{guild,guile-config}.
* meta/Makefile.am (guile-config, guild): Avoid useless 'cat'
invocation'. Quote all occurrences of '@'.
Suggested by Eric Blake <eblake@redhat.com>.
Diffstat (limited to 'meta')
-rw-r--r-- | meta/Makefile.am | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/meta/Makefile.am b/meta/Makefile.am index 102b7974d..57644bcd4 100644 --- a/meta/Makefile.am +++ b/meta/Makefile.am @@ -46,21 +46,21 @@ aclocal_DATA = guile.m4 guile-config: $(srcdir)/guile-config.in $(top_builddir)/config.status guile="@bindir@/`echo guile | $(SED) -e '$(program_transform_name)'`" ; \ - cat $(srcdir)/guile-config.in \ - | $(SED) -e "s,@pkgconfigdir@,$(pkgconfigdir),g" \ - -e "s,@""PKG_CONFIG@,$(PKG_CONFIG),g" \ - -e "s,@installed_guile@,$$guile,g" \ - > guile-config.out - mv guile-config.out guile-config - chmod +x guile-config + $(SED) -e "s,[@]pkgconfigdir[@],$(pkgconfigdir),g" \ + -e "s,[@]PKG_CONFIG[@],$(PKG_CONFIG),g" \ + -e "s,[@]installed_guile[@],$$guile,g" \ + < "$(srcdir)/guile-config.in" \ + > "$@.out" + chmod +x "$@.out" + mv "$@.out" "$@" guild: $(srcdir)/guild.in $(top_builddir)/config.status guile="@bindir@/`echo guile | $(SED) -e '$(program_transform_name)'`" ; \ - cat $(srcdir)/guild.in \ - | $(SED) -e "s,@installed_guile@,$$guile,g" \ - -e "s,[@]PACKAGE_NAME[@],$(PACKAGE_NAME),g" \ - -e "s,[@]PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g" \ - > "$@.out" + $(SED) -e "s,[@]installed_guile[@],$$guile,g" \ + -e "s,[@]PACKAGE_NAME[@],$(PACKAGE_NAME),g" \ + -e "s,[@]PACKAGE_BUGREPORT[@],$(PACKAGE_BUGREPORT),g" \ + < "$(srcdir)/guild.in" \ + > "$@.out" chmod +x "$@.out" mv "$@.out" "$@" |