]> icculus.org git repositories - icculus/xz.git/blob - src/scripts/Makefile.am
Silence a compiler warning on DOS-like systems.
[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 = xzdiff xzgrep xzmore
9 dist_man_MANS = xzdiff.1 xzgrep.1 xzmore.1
10
11 install-exec-hook:
12         cd $(DESTDIR)$(bindir) && \
13         rm -f xzcmp xzegrep xzfgrep xzless \
14                 lzdiff lzgrep lzmore \
15                 lzcmp lzegrep lzfgrep lzless && \
16         $(LN_S) xzdiff xzcmp && \
17         $(LN_S) xzgrep xzegrep && \
18         $(LN_S) xzgrep xzfgrep && \
19         $(LN_S) xzmore xzless && \
20         $(LN_S) xzdiff lzdiff && \
21         $(LN_S) xzgrep lzgrep && \
22         $(LN_S) xzmore lzmore && \
23         $(LN_S) xzdiff lzcmp && \
24         $(LN_S) xzgrep lzegrep && \
25         $(LN_S) xzgrep lzfgrep && \
26         $(LN_S) xzmore lzless
27
28 install-data-hook:
29         cd $(DESTDIR)$(mandir)/man1 && \
30         rm -f xzcmp.1 xzegrep.1 xzfgrep.1 xzless.1 \
31                 lzdiff.1 lzgrep.1 lzmore.1 \
32                 lzcmp.1 lzegrep.1 lzfgrep.1 lzless.1 && \
33         $(LN_S) xzdiff.1 xzcmp.1 && \
34         $(LN_S) xzgrep.1 xzegrep.1 && \
35         $(LN_S) xzgrep.1 xzfgrep.1 && \
36         $(LN_S) xzmore.1 xzless.1 && \
37         $(LN_S) xzdiff.1 lzdiff.1 && \
38         $(LN_S) xzgrep.1 lzgrep.1 && \
39         $(LN_S) xzmore.1 lzmore.1 && \
40         $(LN_S) xzdiff.1 lzcmp.1 && \
41         $(LN_S) xzgrep.1 lzegrep.1 && \
42         $(LN_S) xzgrep.1 lzfgrep.1 && \
43         $(LN_S) xzmore.1 lzless.1
44
45 uninstall-hook:
46         cd $(DESTDIR)$(bindir) && \
47         rm -f xzcmp xzegrep xzfgrep xzless \
48                 lzdiff lzgrep lzmore \
49                 lzcmp lzegrep lzfgrep lzless
50         cd $(DESTDIR)$(mandir)/man1 && \
51         rm -f xzcmp.1 xzegrep.1 xzfgrep.1 xzless.1 \
52                 lzdiff.1 lzgrep.1 lzmore.1 \
53                 lzcmp.1 lzegrep.1 lzfgrep.1 lzless.1