summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-03-24 17:14:22 +0000
committerIan Lynagh <igloo@earth.li>2010-03-24 17:14:22 +0000
commit484511cebe6055c13bedf6b9c773f96ae9d63dc3 (patch)
tree0584b1bca69c8bd1beec557a8b217efecfcf9e04 /driver
parent4a0b6d6cba4c6d053c928ecc111ff0a300443f4b (diff)
downloadhaskell-484511cebe6055c13bedf6b9c773f96ae9d63dc3.tar.gz
Change how perl scripts get installed; partially fixes #3863
We now regenerate them when installing, which means the path for perl doesn't get baked in
Diffstat (limited to 'driver')
-rw-r--r--driver/mangler/ghc.mk2
-rw-r--r--driver/split/ghc.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/driver/mangler/ghc.mk b/driver/mangler/ghc.mk
index 92b00c4370..c5e3bdf3b7 100644
--- a/driver/mangler/ghc.mk
+++ b/driver/mangler/ghc.mk
@@ -13,7 +13,7 @@
driver/mangler_PERL_SRC = ghc-asm.lprl
driver/mangler_dist_PROG = $(GHC_MANGLER_PGM)
driver/mangler_dist_TOPDIR = YES
+driver/mangler_dist_INSTALL_IN = $(DESTDIR)$(topdir)
$(eval $(call build-perl,driver/mangler,dist))
-INSTALL_TOPDIR_SCRIPTS += driver/mangler/dist/$(GHC_MANGLER_PGM)
diff --git a/driver/split/ghc.mk b/driver/split/ghc.mk
index 388e212b13..0272652856 100644
--- a/driver/split/ghc.mk
+++ b/driver/split/ghc.mk
@@ -13,7 +13,7 @@
driver/split_PERL_SRC = ghc-split.lprl
driver/split_dist_PROG = $(GHC_SPLIT_PGM)
driver/split_dist_TOPDIR = YES
+driver/split_dist_INSTALL_IN = $(DESTDIR)$(topdir)
$(eval $(call build-perl,driver/split,dist))
-INSTALL_TOPDIR_SCRIPTS += driver/split/dist/$(GHC_SPLIT_PGM)