summaryrefslogtreecommitdiff
path: root/utils/hsc2hs
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 /utils/hsc2hs
parent21afd63e4f61184acfc7e196f123861fa591df59 (diff)
downloadhaskell-7ef211e8d6aed14f77b344d976e207bc77e365a7.tar.gz
Use DESTDIR when installing
Diffstat (limited to 'utils/hsc2hs')
-rw-r--r--utils/hsc2hs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/hsc2hs/Makefile b/utils/hsc2hs/Makefile
index e06855088f..29995d0480 100644
--- a/utils/hsc2hs/Makefile
+++ b/utils/hsc2hs/Makefile
@@ -60,7 +60,7 @@ else
INSTALL_LIBEXECS += $(HS_PROG)
LINK = hsc2hs
LINK_TARGET = $(LINK)-$(ProjectVersion)
-INSTALLED_SCRIPT=$(bindir)/$(LINK_TARGET)
+INSTALLED_SCRIPT=$(DESTDIR)$(bindir)/$(LINK_TARGET)
install::
$(RM) -f $(INSTALLED_SCRIPT)
echo "#!$(SHELL)" >> $(INSTALLED_SCRIPT)