]> icculus.org git repositories - icculus/xz.git/blob - src/scripts/Makefile.am
Put the interesting parts of XZ Utils into the public domain.
[icculus/xz.git] / src / scripts / Makefile.am
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 dist_bin_SCRIPTS = lzdiff lzgrep lzmore
9 dist_man_MANS = lzdiff.1 lzgrep.1 lzmore.1
10
11 install-exec-hook:
12         cd $(DESTDIR)$(bindir) && \
13         rm -f lzcmp lzegrep lzfgrep lzless && \
14         $(LN_S) lzdiff lzcmp && \
15         $(LN_S) lzgrep lzegrep && \
16         $(LN_S) lzgrep lzfgrep && \
17         $(LN_S) lzmore lzless
18
19 install-data-hook:
20         cd $(DESTDIR)$(mandir)/man1 && \
21         rm -f lzcmp.1 lzegrep.1 lzfgrep.1 lzless.1 && \
22         $(LN_S) lzdiff.1 lzcmp.1 && \
23         $(LN_S) lzgrep.1 lzegrep.1 && \
24         $(LN_S) lzgrep.1 lzfgrep.1 && \
25         $(LN_S) lzmore.1 lzless.1
26
27 uninstall-hook:
28         cd $(DESTDIR)$(bindir) && \
29         rm -f lzcmp lzegrep lzfgrep lzless
30         cd $(DESTDIR)$(mandir)/man1 && \
31         rm -f lzcmp.1 lzegrep.1 lzfgrep.1 lzless.1