about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-08-27 18:19:26 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-08-27 18:19:26 +0000
commit408695927c860762fe23d29090d176ccfb460ff7 (patch)
treec2bee6f5bf6aa01a804d914aa7c84a61dd24faee /Src
parentdf7d6b3e439c7401e1e1c8ab76a603f001402ea3 (diff)
downloadzsh-408695927c860762fe23d29090d176ccfb460ff7.tar.gz
zsh-408695927c860762fe23d29090d176ccfb460ff7.tar.xz
zsh-408695927c860762fe23d29090d176ccfb460ff7.zip
manual/7520
Diffstat (limited to 'Src')
-rw-r--r--Src/Makefile.in2
-rw-r--r--Src/Makemod.in.in8
2 files changed, 5 insertions, 5 deletions
diff --git a/Src/Makefile.in b/Src/Makefile.in
index 99def0508..7ec130c2b 100644
--- a/Src/Makefile.in
+++ b/Src/Makefile.in
@@ -177,7 +177,7 @@ install.bin-L: $(LIBZSH)
 
 # uninstall binary
 uninstall.bin-here: uninstall.bin-@L@
-	rm -f $(DESTDIR)$(bindir)/zsh-$(VERSION) $(bindir)/zsh
+	rm -f $(DESTDIR)$(bindir)/zsh-$(VERSION) $(DESTDIR)$(bindir)/zsh
 
 uninstall.bin-N:
 uninstall.bin-L:
diff --git a/Src/Makemod.in.in b/Src/Makemod.in.in
index 0ba2e217c..42cfc0401 100644
--- a/Src/Makemod.in.in
+++ b/Src/Makemod.in.in
@@ -127,15 +127,15 @@ install.bin-here uninstall.bin-here:
 
 install.modules-here:
 	modules='$(MODULES)'; \
-	if test -n "$$modules"; then $(sdir_top)/mkinstalldirs $(DESTDIR)$(MODDIR); fi; \
+	if test -n "$$modules"; then $(sdir_top)/mkinstalldirs $(MODDIR); fi; \
 	for mod in $$modules; do \
-	    $(INSTALL_PROGRAM) $$mod $(DESTDIR)$(MODDIR)/$$mod; \
+	    $(INSTALL_PROGRAM) $$mod $(MODDIR)/$$mod; \
 	done
 
 uninstall.modules-here:
 	modules='$(MODULES)'; for mod in $$modules; do \
-	    if test -f $(DESTDIR)$(MODDIR)/$$mod; then \
-		rm -f $(DESTDIR)$(MODDIR)/$$mod; \
+	    if test -f $(MODDIR)/$$mod; then \
+		rm -f $(MODDIR)/$$mod; \
 	    else :; fi; \
 	done