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-21 05:46:19 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-08-21 05:46:19 +0000
commit79db4326858edc58158b2fd0241e71bd727e23a0 (patch)
tree72039eb6c8d92df7ef45a4fb3ebb8b82702593c0 /Src/Makemod.in.in
parenteb23336a58ae91a4ab5ce1fb96d1cdfea7691e13 (diff)
downloadzsh-79db4326858edc58158b2fd0241e71bd727e23a0.tar.gz
zsh-79db4326858edc58158b2fd0241e71bd727e23a0.tar.xz
zsh-79db4326858edc58158b2fd0241e71bd727e23a0.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