summaryrefslogtreecommitdiff
path: root/driver/ghci
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-08-28 20:51:19 +0000
committerIan Lynagh <igloo@earth.li>2007-08-28 20:51:19 +0000
commit7ef211e8d6aed14f77b344d976e207bc77e365a7 (patch)
tree7b29ed82074889590e974fc0c0ff26a0a149c372 /driver/ghci
parent21afd63e4f61184acfc7e196f123861fa591df59 (diff)
downloadhaskell-7ef211e8d6aed14f77b344d976e207bc77e365a7.tar.gz
Use DESTDIR when installing
Diffstat (limited to 'driver/ghci')
-rw-r--r--driver/ghci/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/ghci/Makefile b/driver/ghci/Makefile
index ac6d3834fc..c3fad1541b 100644
--- a/driver/ghci/Makefile
+++ b/driver/ghci/Makefile
@@ -25,7 +25,7 @@ install::
else
LINK = ghci
LINK_TARGET = $(LINK)-$(ProjectVersion)
-INSTALLED_SCRIPT=$(bindir)/$(LINK_TARGET)
+INSTALLED_SCRIPT=$(DESTDIR)$(bindir)/$(LINK_TARGET)
install::
$(RM) -f $(INSTALLED_SCRIPT)
echo "#!$(SHELL)" >> $(INSTALLED_SCRIPT)