OLD | NEW |
(Empty) | |
| 1 ## |
| 2 ## Author: Lasse Collin |
| 3 ## |
| 4 ## This file has been put into the public domain. |
| 5 ## You can do whatever you want with this file. |
| 6 ## |
| 7 |
| 8 nodist_bin_SCRIPTS = xzdiff xzgrep xzmore xzless |
| 9 dist_man_MANS = xzdiff.1 xzgrep.1 xzmore.1 xzless.1 |
| 10 |
| 11 install-exec-hook: |
| 12 cd $(DESTDIR)$(bindir) && \ |
| 13 target=`echo xzdiff | sed '$(transform)'` && \ |
| 14 for name in xzcmp lzdiff lzcmp; do \ |
| 15 link=`echo $$name | sed '$(transform)'` && \ |
| 16 rm -f $$link && \ |
| 17 $(LN_S) $$target $$link; \ |
| 18 done && \ |
| 19 target=`echo xzgrep | sed '$(transform)'` && \ |
| 20 for name in xzegrep xzfgrep lzgrep lzegrep lzfgrep; do \ |
| 21 link=`echo $$name | sed '$(transform)'` && \ |
| 22 rm -f $$link && \ |
| 23 $(LN_S) $$target $$link; \ |
| 24 done && \ |
| 25 for name in xzmore xzless; do \ |
| 26 target=`echo $$name | sed '$(transform)'` && \ |
| 27 link=`echo $$name | sed 's/xz/lz/;$(transform)'` && \ |
| 28 rm -f $$link && \ |
| 29 $(LN_S) $$target $$link; \ |
| 30 done |
| 31 |
| 32 install-data-hook: |
| 33 cd $(DESTDIR)$(mandir)/man1 && \ |
| 34 target=`echo xzdiff | sed '$(transform)'` && \ |
| 35 for name in xzcmp lzdiff lzcmp; do \ |
| 36 link=`echo $$name | sed '$(transform)'` && \ |
| 37 rm -f $$link.1 && \ |
| 38 $(LN_S) $$target.1 $$link.1; \ |
| 39 done && \ |
| 40 target=`echo xzgrep | sed '$(transform)'` && \ |
| 41 for name in xzegrep xzfgrep lzgrep lzegrep lzfgrep; do \ |
| 42 link=`echo $$name | sed '$(transform)'` && \ |
| 43 rm -f $$link.1 && \ |
| 44 $(LN_S) $$target.1 $$link.1; \ |
| 45 done && \ |
| 46 for name in xzmore xzless; do \ |
| 47 target=`echo $$name | sed '$(transform)'` && \ |
| 48 link=`echo $$name | sed 's/xz/lz/;$(transform)'` && \ |
| 49 rm -f $$link.1 && \ |
| 50 $(LN_S) $$target.1 $$link.1; \ |
| 51 done |
| 52 |
| 53 uninstall-hook: |
| 54 cd $(DESTDIR)$(bindir) && \ |
| 55 for name in xzcmp lzdiff lzcmp xzegrep xzfgrep \ |
| 56 lzgrep lzegrep lzfgrep lzmore lzless; do \ |
| 57 link=`echo $$name | sed '$(transform)'` && \ |
| 58 rm -f $$link; \ |
| 59 done |
| 60 cd $(DESTDIR)$(mandir)/man1 && \ |
| 61 for name in xzcmp lzdiff lzcmp xzegrep xzfgrep \ |
| 62 lzgrep lzegrep lzfgrep lzmore lzless; do \ |
| 63 link=`echo $$name | sed '$(transform)'` && \ |
| 64 rm -f $$link.1; \ |
| 65 done |
OLD | NEW |