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 | |
parent | 21afd63e4f61184acfc7e196f123861fa591df59 (diff) | |
download | haskell-7ef211e8d6aed14f77b344d976e207bc77e365a7.tar.gz |
Use DESTDIR when installing
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ghc-pkg/Makefile | 2 | ||||
-rw-r--r-- | utils/hsc2hs/Makefile | 2 | ||||
-rw-r--r-- | utils/prof/Makefile | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/utils/ghc-pkg/Makefile b/utils/ghc-pkg/Makefile index 0238334bfe..67ed7ceb0c 100644 --- a/utils/ghc-pkg/Makefile +++ b/utils/ghc-pkg/Makefile @@ -83,7 +83,7 @@ CLEAN_FILES += $(INPLACE_HS) $(INPLACE_PROG) ifneq "$(HOSTPLATFORM)" "i386-unknown-mingw32" LINK = ghc-pkg LINK_TARGET = $(LINK)-$(ProjectVersion) -INSTALLED_SCRIPT=$(bindir)/$(LINK_TARGET) +INSTALLED_SCRIPT=$(DESTDIR)$(bindir)/$(LINK_TARGET) install:: $(RM) -f $(INSTALLED_SCRIPT) echo "#!$(SHELL)" >> $(INSTALLED_SCRIPT) 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) diff --git a/utils/prof/Makefile b/utils/prof/Makefile index 4401c630a3..0db52a2a67 100644 --- a/utils/prof/Makefile +++ b/utils/prof/Makefile @@ -15,7 +15,7 @@ all:: cat ghcprof.prl >> $(INPLACE_SCRIPT) $(EXECUTABLE_FILE) $(INPLACE_SCRIPT) -INSTALLED_SCRIPT=$(bindir)/ghcprof +INSTALLED_SCRIPT=$(DESTDIR)$(bindir)/ghcprof install:: $(RM) -f $(INSTALLED_SCRIPT) echo '#!$(PERL)' >> $(INSTALLED_SCRIPT) |