diff options
author | Ian Lynagh <igloo@earth.li> | 2007-08-28 20:51:19 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2007-08-28 20:51:19 +0000 |
commit | 7ef211e8d6aed14f77b344d976e207bc77e365a7 (patch) | |
tree | 7b29ed82074889590e974fc0c0ff26a0a149c372 /utils/hsc2hs | |
parent | 21afd63e4f61184acfc7e196f123861fa591df59 (diff) | |
download | haskell-7ef211e8d6aed14f77b344d976e207bc77e365a7.tar.gz |
Use DESTDIR when installing
Diffstat (limited to 'utils/hsc2hs')
-rw-r--r-- | utils/hsc2hs/Makefile | 2 |
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) |