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:46:20 +0200 |
commit | 7a85f2b68ce8c7c8a28e6bde03b7c9da01004db5 (patch) | |
tree | dd5bd8c1c8799f2b00091f66285a6be2a1a24fce /meta | |
parent | d80b6acf198dddc90eba40a83de36b65ddf9f0ac (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 a1452a058..283f3f1f2 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" "$@" |