From 2f0bc9cd40f709152a0177c8e585c0757e9af9c9 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Mon, 13 Apr 2009 14:49:48 +0300 Subject: Quick & dirty update to support xz in diff/grep/more scripts. --- src/scripts/Makefile.am | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) (limited to 'src/scripts/Makefile.am') diff --git a/src/scripts/Makefile.am b/src/scripts/Makefile.am index 8f63bde8..965f65ff 100644 --- a/src/scripts/Makefile.am +++ b/src/scripts/Makefile.am @@ -5,27 +5,37 @@ ## You can do whatever you want with this file. ## -dist_bin_SCRIPTS = lzdiff lzgrep lzmore -dist_man_MANS = lzdiff.1 lzgrep.1 lzmore.1 +dist_bin_SCRIPTS = xzdiff xzgrep xzmore +dist_man_MANS = xzdiff.1 xzgrep.1 xzmore.1 install-exec-hook: cd $(DESTDIR)$(bindir) && \ - rm -f lzcmp lzegrep lzfgrep lzless && \ - $(LN_S) lzdiff lzcmp && \ - $(LN_S) lzgrep lzegrep && \ - $(LN_S) lzgrep lzfgrep && \ - $(LN_S) lzmore lzless + rm -f xzcmp xzegrep xzfgrep xzless lzcmp lzegrep lzfgrep lzless && \ + $(LN_S) xzdiff xzcmp && \ + $(LN_S) xzgrep xzegrep && \ + $(LN_S) xzgrep xzfgrep && \ + $(LN_S) xzmore xzless && \ + $(LN_S) xzdiff lzcmp && \ + $(LN_S) xzgrep lzegrep && \ + $(LN_S) xzgrep lzfgrep && \ + $(LN_S) xzmore lzless install-data-hook: cd $(DESTDIR)$(mandir)/man1 && \ - rm -f lzcmp.1 lzegrep.1 lzfgrep.1 lzless.1 && \ - $(LN_S) lzdiff.1 lzcmp.1 && \ - $(LN_S) lzgrep.1 lzegrep.1 && \ - $(LN_S) lzgrep.1 lzfgrep.1 && \ - $(LN_S) lzmore.1 lzless.1 + rm -f xzcmp.1 xzegrep.1 xzfgrep.1 xzless.1 \ + lzcmp.1 lzegrep.1 lzfgrep.1 lzless.1 && \ + $(LN_S) xzdiff.1 xzcmp.1 && \ + $(LN_S) xzgrep.1 xzegrep.1 && \ + $(LN_S) xzgrep.1 xzfgrep.1 && \ + $(LN_S) xzmore.1 xzless.1 && \ + $(LN_S) xzdiff.1 lzcmp.1 && \ + $(LN_S) xzgrep.1 lzegrep.1 && \ + $(LN_S) xzgrep.1 lzfgrep.1 && \ + $(LN_S) xzmore.1 lzless.1 uninstall-hook: cd $(DESTDIR)$(bindir) && \ - rm -f lzcmp lzegrep lzfgrep lzless + rm -f xzcmp xzegrep xzfgrep xzless lzcmp lzegrep lzfgrep lzless cd $(DESTDIR)$(mandir)/man1 && \ - rm -f lzcmp.1 lzegrep.1 lzfgrep.1 lzless.1 + rm -f xzcmp.1 xzegrep.1 xzfgrep.1 xzless.1 \ + lzcmp.1 lzegrep.1 lzfgrep.1 lzless.1 -- cgit v1.2.3