]>
Commit | Line | Data |
---|---|---|
3e2e4889 | 1 | diff -Nru zsh-3.1.6/Doc/Makefile.in zsh-3.1.6.new/Doc/Makefile.in |
2 | --- zsh-3.1.6/Doc/Makefile.in Tue Jul 20 14:10:07 1999 | |
3 | +++ zsh-3.1.6.new/Doc/Makefile.in Mon Nov 1 23:59:27 1999 | |
4 | @@ -164,29 +164,29 @@ | |
5 | ||
6 | # install man pages, creating install directory if necessary | |
7 | install.man: $(MAN) | |
8 | - $(sdir_top)/mkinstalldirs $(mandir)/man1 | |
9 | + $(sdir_top)/mkinstalldirs $(DESTDIR)$(mandir)/man1 | |
10 | for file in $(MAN); do \ | |
11 | if test -f $$file; then \ | |
12 | - $(INSTALL_DATA) $$file $(mandir)/man1; \ | |
13 | + $(INSTALL_DATA) $$file $(DESTDIR)$(mandir)/man1; \ | |
14 | elif test -f $(sdir)/$$file; then \ | |
15 | - $(INSTALL_DATA) $(sdir)/$$file $(mandir)/man1; \ | |
16 | + $(INSTALL_DATA) $(sdir)/$$file $(DESTDIR)$(mandir)/man1; \ | |
17 | else :; \ | |
18 | fi || exit 1; \ | |
19 | done | |
20 | ||
21 | # install info pages, creating install directory if necessary | |
22 | install.info: zsh.info | |
23 | - $(sdir_top)/mkinstalldirs $(infodir) | |
24 | + $(sdir_top)/mkinstalldirs $(DESTDIR)$(infodir) | |
25 | for file in zsh.info zsh.info-[1-9]*; do \ | |
26 | if test -f $$file; then \ | |
27 | - $(INSTALL_DATA) $$file $(infodir); \ | |
28 | + $(INSTALL_DATA) $$file $(DESTDIR)$(infodir); \ | |
29 | elif test -f $(sdir)/$$file; then \ | |
30 | - $(INSTALL_DATA) $(sdir)/$$file $(infodir); \ | |
31 | + $(INSTALL_DATA) $(sdir)/$$file $(DESTDIR)$(infodir); \ | |
32 | else :; \ | |
33 | fi || exit 1; \ | |
34 | done | |
35 | if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \ | |
36 | - install-info --dir-file=$(infodir)/dir $(infodir)/zsh.info; \ | |
37 | + install-info --dir-file=$(infodir)/dir $(DESTDIR)$(infodir)/zsh.info; \ | |
38 | else true; fi | |
39 | ||
40 | install.html: zsh_toc.html | |
41 | diff -Nru zsh-3.1.6/Src/Makefile.in zsh-3.1.6.new/Src/Makefile.in | |
42 | --- zsh-3.1.6/Src/Makefile.in Tue Jun 29 18:39:30 1999 | |
43 | +++ zsh-3.1.6.new/Src/Makefile.in Tue Nov 2 00:01:11 1999 | |
44 | @@ -159,20 +159,13 @@ | |
45 | ||
46 | # install binary, creating install directory if necessary | |
47 | install.bin-here: zsh install.bin-@L@ | |
48 | - $(sdir_top)/mkinstalldirs $(bindir) | |
49 | - $(INSTALL_PROGRAM) $(STRIPFLAGS) zsh $(bindir)/zsh-$(VERSION) | |
50 | - if test -f $(bindir)/zsh; then \ | |
51 | - rm -f $(bindir)/zsh.old; \ | |
52 | - ln $(bindir)/zsh $(bindir)/zsh.old; \ | |
53 | - else :; fi | |
54 | - rm -f $(bindir)/zsh.new | |
55 | - ln $(bindir)/zsh-$(VERSION) $(bindir)/zsh.new | |
56 | - mv $(bindir)/zsh.new $(bindir)/zsh | |
57 | + $(sdir_top)/mkinstalldirs $(DESTDIR)$(bindir) | |
58 | + $(INSTALL_PROGRAM) $(STRIPFLAGS) zsh $(DESTDIR)$(bindir) | |
59 | ||
60 | install.bin-N: | |
61 | install.bin-L: $(LIBZSH) | |
62 | - $(sdir_top)/mkinstalldirs $(libdir)/zsh | |
63 | - $(INSTALL_PROGRAM) $(LIBZSH) $(libdir)/zsh/$(LIBZSH) | |
64 | + $(sdir_top)/mkinstalldirs $(DESTDIR)$(libdir)/zsh | |
65 | + $(INSTALL_PROGRAM) $(LIBZSH) $(DESTDIR)$(libdir)/zsh/$(LIBZSH) | |
66 | ||
67 | # uninstall binary | |
68 | uninstall.bin-here: uninstall.bin-@L@ |