diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-07-06 10:36:04 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-07-06 10:36:04 +0300 |
commit | 5f16ef4abf220028a9ddbcb138217597a9455f62 (patch) | |
tree | 947d9b3bf100985d278c00d3b2a1098054434b7f /src/scripts | |
parent | Major update to the xzgrep and other scripts based on (diff) | |
download | xz-5f16ef4abf220028a9ddbcb138217597a9455f62.tar.xz |
Use sed instead of $(SED) so that we don't need to
use AC_PROG_SED. We don't do anything fancy with sed,
so this should work OK. libtool 2.2 sets SED but 1.5
doesn't, so $(SED) happened to work when using libtool 2.2.
Diffstat (limited to '')
-rw-r--r-- | src/scripts/Makefile.am | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/scripts/Makefile.am b/src/scripts/Makefile.am index 8580ee5b..86f27388 100644 --- a/src/scripts/Makefile.am +++ b/src/scripts/Makefile.am @@ -10,42 +10,42 @@ dist_man_MANS = xzdiff.1 xzgrep.1 xzmore.1 xzless.1 install-exec-hook: cd $(DESTDIR)$(bindir) && \ - target=`echo xzdiff | $(SED) '$(transform)'` && \ + target=`echo xzdiff | sed '$(transform)'` && \ for name in xzcmp lzdiff lzcmp; do \ - link=`echo $$name | $(SED) '$(transform)'` && \ + link=`echo $$name | sed '$(transform)'` && \ rm -f $$link && \ $(LN_S) $$target $$link; \ done && \ - target=`echo xzgrep | $(SED) '$(transform)'` && \ + target=`echo xzgrep | sed '$(transform)'` && \ for name in xzegrep xzfgrep lzgrep lzegrep lzfgrep; do \ - link=`echo $$name | $(SED) '$(transform)'` && \ + link=`echo $$name | sed '$(transform)'` && \ rm -f $$link && \ $(LN_S) $$target $$link; \ done && \ for name in xzmore xzless; do \ - target=`echo $$name | $(SED) '$(transform)'` && \ - link=`echo $$name | $(SED) 's/xz/lz/;$(transform)'` && \ + target=`echo $$name | sed '$(transform)'` && \ + link=`echo $$name | sed 's/xz/lz/;$(transform)'` && \ rm -f $$link && \ $(LN_S) $$target $$link; \ done install-data-hook: cd $(DESTDIR)$(mandir)/man1 && \ - target=`echo xzdiff | $(SED) '$(transform)'` && \ + target=`echo xzdiff | sed '$(transform)'` && \ for name in xzcmp lzdiff lzcmp; do \ - link=`echo $$name | $(SED) '$(transform)'` && \ + link=`echo $$name | sed '$(transform)'` && \ rm -f $$link.1 && \ $(LN_S) $$target.1 $$link.1; \ done && \ - target=`echo xzgrep | $(SED) '$(transform)'` && \ + target=`echo xzgrep | sed '$(transform)'` && \ for name in xzegrep xzfgrep lzgrep lzegrep lzfgrep; do \ - link=`echo $$name | $(SED) '$(transform)'` && \ + link=`echo $$name | sed '$(transform)'` && \ rm -f $$link.1 && \ $(LN_S) $$target.1 $$link.1; \ done && \ for name in xzmore xzless; do \ - target=`echo $$name | $(SED) '$(transform)'` && \ - link=`echo $$name | $(SED) 's/xz/lz/;$(transform)'` && \ + target=`echo $$name | sed '$(transform)'` && \ + link=`echo $$name | sed 's/xz/lz/;$(transform)'` && \ rm -f $$link.1 && \ $(LN_S) $$target.1 $$link.1; \ done @@ -54,12 +54,12 @@ uninstall-hook: cd $(DESTDIR)$(bindir) && \ for name in xzcmp lzdiff lzcmp xzegrep xzfgrep \ lzgrep lzegrep lzfgrep lzmore lzless; do \ - link=`echo $$name | $(SED) '$(transform)'` && \ + link=`echo $$name | sed '$(transform)'` && \ rm -f $$link; \ done cd $(DESTDIR)$(mandir)/man1 && \ for name in xzcmp lzdiff lzcmp xzegrep xzfgrep \ lzgrep lzegrep lzfgrep lzmore lzless; do \ - link=`echo $$name | $(SED) '$(transform)'` && \ + link=`echo $$name | sed '$(transform)'` && \ rm -f $$link.1; \ done |