2009-04-13 04:27:40 -04:00
|
|
|
##
|
|
|
|
## Author: Lasse Collin
|
|
|
|
##
|
|
|
|
## This file has been put into the public domain.
|
|
|
|
## You can do whatever you want with this file.
|
|
|
|
##
|
|
|
|
|
2009-04-13 07:49:48 -04:00
|
|
|
dist_bin_SCRIPTS = xzdiff xzgrep xzmore
|
|
|
|
dist_man_MANS = xzdiff.1 xzgrep.1 xzmore.1
|
2007-12-08 17:42:33 -05:00
|
|
|
|
|
|
|
install-exec-hook:
|
|
|
|
cd $(DESTDIR)$(bindir) && \
|
2009-05-20 17:31:18 -04:00
|
|
|
rm -f xzcmp xzegrep xzfgrep xzless \
|
|
|
|
lzdiff lzgrep lzmore \
|
|
|
|
lzcmp lzegrep lzfgrep lzless && \
|
2009-04-13 07:49:48 -04:00
|
|
|
$(LN_S) xzdiff xzcmp && \
|
|
|
|
$(LN_S) xzgrep xzegrep && \
|
|
|
|
$(LN_S) xzgrep xzfgrep && \
|
|
|
|
$(LN_S) xzmore xzless && \
|
2009-05-20 17:31:18 -04:00
|
|
|
$(LN_S) xzdiff lzdiff && \
|
|
|
|
$(LN_S) xzgrep lzgrep && \
|
|
|
|
$(LN_S) xzmore lzmore && \
|
2009-04-13 07:49:48 -04:00
|
|
|
$(LN_S) xzdiff lzcmp && \
|
|
|
|
$(LN_S) xzgrep lzegrep && \
|
|
|
|
$(LN_S) xzgrep lzfgrep && \
|
|
|
|
$(LN_S) xzmore lzless
|
2007-12-08 17:42:33 -05:00
|
|
|
|
|
|
|
install-data-hook:
|
|
|
|
cd $(DESTDIR)$(mandir)/man1 && \
|
2009-04-13 07:49:48 -04:00
|
|
|
rm -f xzcmp.1 xzegrep.1 xzfgrep.1 xzless.1 \
|
2009-05-20 17:31:18 -04:00
|
|
|
lzdiff.1 lzgrep.1 lzmore.1 \
|
2009-04-13 07:49:48 -04:00
|
|
|
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 && \
|
2009-05-20 17:31:18 -04:00
|
|
|
$(LN_S) xzdiff.1 lzdiff.1 && \
|
|
|
|
$(LN_S) xzgrep.1 lzgrep.1 && \
|
|
|
|
$(LN_S) xzmore.1 lzmore.1 && \
|
2009-04-13 07:49:48 -04:00
|
|
|
$(LN_S) xzdiff.1 lzcmp.1 && \
|
|
|
|
$(LN_S) xzgrep.1 lzegrep.1 && \
|
|
|
|
$(LN_S) xzgrep.1 lzfgrep.1 && \
|
|
|
|
$(LN_S) xzmore.1 lzless.1
|
2007-12-08 17:42:33 -05:00
|
|
|
|
|
|
|
uninstall-hook:
|
|
|
|
cd $(DESTDIR)$(bindir) && \
|
2009-05-20 17:31:18 -04:00
|
|
|
rm -f xzcmp xzegrep xzfgrep xzless \
|
|
|
|
lzdiff lzgrep lzmore \
|
|
|
|
lzcmp lzegrep lzfgrep lzless
|
2007-12-08 17:42:33 -05:00
|
|
|
cd $(DESTDIR)$(mandir)/man1 && \
|
2009-04-13 07:49:48 -04:00
|
|
|
rm -f xzcmp.1 xzegrep.1 xzfgrep.1 xzless.1 \
|
2009-05-20 17:31:18 -04:00
|
|
|
lzdiff.1 lzgrep.1 lzmore.1 \
|
2009-04-13 07:49:48 -04:00
|
|
|
lzcmp.1 lzegrep.1 lzfgrep.1 lzless.1
|