diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-08-21 05:46:19 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-08-21 05:46:19 +0000 |
commit | 79db4326858edc58158b2fd0241e71bd727e23a0 (patch) | |
tree | 72039eb6c8d92df7ef45a4fb3ebb8b82702593c0 /Src/Makefile.in | |
parent | eb23336a58ae91a4ab5ce1fb96d1cdfea7691e13 (diff) | |
download | zsh-79db4326858edc58158b2fd0241e71bd727e23a0.tar.gz zsh-79db4326858edc58158b2fd0241e71bd727e23a0.tar.xz zsh-79db4326858edc58158b2fd0241e71bd727e23a0.zip |
manual/7459
Diffstat (limited to 'Src/Makefile.in')
-rw-r--r-- | Src/Makefile.in | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Src/Makefile.in b/Src/Makefile.in index e17633f45..99def0508 100644 --- a/Src/Makefile.in +++ b/Src/Makefile.in @@ -160,28 +160,28 @@ uninstall.bin: uninstall.bin-here # install binary, creating install directory if necessary install.bin-here: zsh install.bin-@L@ - $(sdir_top)/mkinstalldirs $(bindir) - $(INSTALL_PROGRAM) $(STRIPFLAGS) zsh $(bindir)/zsh-$(VERSION) - if test -f $(bindir)/zsh; then \ - rm -f $(bindir)/zsh.old; \ - $(LN) $(bindir)/zsh $(bindir)/zsh.old; \ + $(sdir_top)/mkinstalldirs $(DESTDIR)$(bindir) + $(INSTALL_PROGRAM) $(STRIPFLAGS) zsh $(DESTDIR)$(bindir)/zsh-$(VERSION) + if test -f $(DESTDIR)$(bindir)/zsh; then \ + rm -f $(DESTDIR)$(bindir)/zsh.old; \ + $(LN) $(DESTDIR)$(bindir)/zsh $(DESTDIR)$(bindir)/zsh.old; \ else :; fi - rm -f $(bindir)/zsh.new - $(LN) $(bindir)/zsh-$(VERSION) $(bindir)/zsh.new - mv $(bindir)/zsh.new $(bindir)/zsh + rm -f $(DESTDIR)$(bindir)/zsh.new + $(LN) $(DESTDIR)$(bindir)/zsh-$(VERSION) $(DESTDIR)$(bindir)/zsh.new + mv $(DESTDIR)$(bindir)/zsh.new $(DESTDIR)$(bindir)/zsh install.bin-N: install.bin-L: $(LIBZSH) - $(sdir_top)/mkinstalldirs $(libdir)/zsh - $(INSTALL_PROGRAM) $(LIBZSH) $(libdir)/zsh/$(LIBZSH) + $(sdir_top)/mkinstalldirs $(DESTDIR)$(libdir)/zsh + $(INSTALL_PROGRAM) $(LIBZSH) $(DESTDIR)$(libdir)/zsh/$(LIBZSH) # uninstall binary uninstall.bin-here: uninstall.bin-@L@ - rm -f $(bindir)/zsh-$(VERSION) $(bindir)/zsh + rm -f $(DESTDIR)$(bindir)/zsh-$(VERSION) $(bindir)/zsh uninstall.bin-N: uninstall.bin-L: - rm -f $(libdir)/zsh/$(LIBZSH) + rm -f $(DESTDIR)$(libdir)/zsh/$(LIBZSH) # ========== DEPENDENCIES FOR CLEANUP ========== |