about summary refs log tree commit diff
path: root/Src/Makemod.in.in
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-08-28 05:10:54 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-08-28 05:10:54 +0000
commit607ba21c843613227244e17282287d1e92c51676 (patch)
treea17d4e98e3b5b8d49e0cbe09b965f5cbd3adfe13 /Src/Makemod.in.in
parent57b1435008c6163cdc59a4155ce0a8f17ab3c85c (diff)
downloadzsh-607ba21c843613227244e17282287d1e92c51676.tar.gz
zsh-607ba21c843613227244e17282287d1e92c51676.tar.xz
zsh-607ba21c843613227244e17282287d1e92c51676.zip
manual/7459+
Diffstat (limited to 'Src/Makemod.in.in')
-rw-r--r--Src/Makemod.in.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/Makemod.in.in b/Src/Makemod.in.in
index 42cfc0401..0ba2e217c 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 $(MODDIR); fi; \
+	if test -n "$$modules"; then $(sdir_top)/mkinstalldirs $(DESTDIR)$(MODDIR); fi; \
 	for mod in $$modules; do \
-	    $(INSTALL_PROGRAM) $$mod $(MODDIR)/$$mod; \
+	    $(INSTALL_PROGRAM) $$mod $(DESTDIR)$(MODDIR)/$$mod; \
 	done
 
 uninstall.modules-here:
 	modules='$(MODULES)'; for mod in $$modules; do \
-	    if test -f $(MODDIR)/$$mod; then \
-		rm -f $(MODDIR)/$$mod; \
+	    if test -f $(DESTDIR)$(MODDIR)/$$mod; then \
+		rm -f $(DESTDIR)$(MODDIR)/$$mod; \
 	    else :; fi; \
 	done