diff options
author | Simon Marlow <marlowsd@gmail.com> | 2011-04-12 13:30:02 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2011-05-28 11:14:57 +0100 |
commit | d30d47e5a819a7900054dd089b21d769259fdffa (patch) | |
tree | 4a81aab983f5c762a6eee990e1cf9f9dc0940e97 /utils | |
parent | e8832eb9f05ca46d9315250c3baf7010eb0630a4 (diff) | |
download | haskell-d30d47e5a819a7900054dd089b21d769259fdffa.tar.gz |
Make builds that use stage1 use "dist-install" consistently. This
makes it easier to remove everything built with stage1 in cases where
the build system or GHC wrongly thinks everything is up to date.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/compare_sizes/ghc.mk | 4 | ||||
-rw-r--r-- | utils/ghc-pwd/ghc.mk | 4 | ||||
-rw-r--r-- | utils/ghctags/ghc.mk | 10 | ||||
-rw-r--r-- | utils/hpc/ghc.mk | 10 | ||||
-rw-r--r-- | utils/runghc/ghc.mk | 14 |
5 files changed, 21 insertions, 21 deletions
diff --git a/utils/compare_sizes/ghc.mk b/utils/compare_sizes/ghc.mk index 1c9dbee4a9..5e48299646 100644 --- a/utils/compare_sizes/ghc.mk +++ b/utils/compare_sizes/ghc.mk @@ -2,7 +2,7 @@ utils/compare_sizes_USES_CABAL = YES utils/compare_sizes_PACKAGE = compareSizes utils/compare_sizes_MODULES = Main -utils/compare_sizes_dist_PROG = compareSizes$(exeext) +utils/compare_sizes_dist-install_PROG = compareSizes$(exeext) -$(eval $(call build-prog,utils/compare_sizes,dist,1)) +$(eval $(call build-prog,utils/compare_sizes,dist-install,1)) diff --git a/utils/ghc-pwd/ghc.mk b/utils/ghc-pwd/ghc.mk index 29f74e86b6..5efe3b8fdf 100644 --- a/utils/ghc-pwd/ghc.mk +++ b/utils/ghc-pwd/ghc.mk @@ -1,7 +1,7 @@ utils/ghc-pwd_USES_CABAL = YES utils/ghc-pwd_PACKAGE = ghc-pwd -utils/ghc-pwd_dist_PROG = ghc-pwd$(exeext) +utils/ghc-pwd_dist-install_PROG = ghc-pwd$(exeext) -$(eval $(call build-prog,utils/ghc-pwd,dist,1)) +$(eval $(call build-prog,utils/ghc-pwd,dist-install,1)) diff --git a/utils/ghctags/ghc.mk b/utils/ghctags/ghc.mk index 7bf8a7390c..73a520157c 100644 --- a/utils/ghctags/ghc.mk +++ b/utils/ghctags/ghc.mk @@ -10,8 +10,8 @@ # # ----------------------------------------------------------------------------- -utils/ghctags_dist_MODULES = Main -utils/ghctags_dist_HC_OPTS = -package ghc -utils/ghctags_dist_INSTALL = NO -utils/ghctags_dist_PROG = ghctags$(exeext) -$(eval $(call build-prog,utils/ghctags,dist,2)) +utils/ghctags_dist-install_MODULES = Main +utils/ghctags_dist-install_HC_OPTS = -package ghc +utils/ghctags_dist-install_INSTALL = NO +utils/ghctags_dist-install_PROG = ghctags$(exeext) +$(eval $(call build-prog,utils/ghctags,dist-install,2)) diff --git a/utils/hpc/ghc.mk b/utils/hpc/ghc.mk index 164dacffb8..9a8f8ad54e 100644 --- a/utils/hpc/ghc.mk +++ b/utils/hpc/ghc.mk @@ -10,10 +10,10 @@ # # ----------------------------------------------------------------------------- -utils/hpc_dist_MODULES = Main HpcCombine HpcDraft HpcFlags HpcLexer \ +utils/hpc_dist-install_MODULES = Main HpcCombine HpcDraft HpcFlags HpcLexer \ HpcMarkup HpcOverlay HpcParser HpcReport \ HpcShowTix HpcUtils -utils/hpc_dist_HC_OPTS = -cpp -package hpc -utils/hpc_dist_INSTALL = YES -utils/hpc_dist_PROG = hpc$(exeext) -$(eval $(call build-prog,utils/hpc,dist,1)) +utils/hpc_dist-install_HC_OPTS = -cpp -package hpc +utils/hpc_dist-install_INSTALL = YES +utils/hpc_dist-install_PROG = hpc$(exeext) +$(eval $(call build-prog,utils/hpc,dist-install,1)) diff --git a/utils/runghc/ghc.mk b/utils/runghc/ghc.mk index 26c3b31228..7c6a34a190 100644 --- a/utils/runghc/ghc.mk +++ b/utils/runghc/ghc.mk @@ -11,19 +11,19 @@ # ----------------------------------------------------------------------------- utils/runghc_PACKAGE = runghc -utils/runghc_dist_USES_CABAL = YES -utils/runghc_dist_PROG = runghc$(exeext) -utils/runghc_dist_SHELL_WRAPPER = YES -utils/runghc_dist_INSTALL_SHELL_WRAPPER = YES -utils/runghc_dist_EXTRA_HC_OPTS = -cpp -DVERSION="\"$(ProjectVersion)\"" +utils/runghc_dist-install_USES_CABAL = YES +utils/runghc_dist-install_PROG = runghc$(exeext) +utils/runghc_dist-install_SHELL_WRAPPER = YES +utils/runghc_dist-install_INSTALL_SHELL_WRAPPER = YES +utils/runghc_dist-install_EXTRA_HC_OPTS = -cpp -DVERSION="\"$(ProjectVersion)\"" ifneq "$(BINDIST)" "YES" # hack: the build system has trouble with Main modules not called Main.hs -utils/runghc/dist/build/Main.hs : utils/runghc/runghc.hs | $$(dir $$@)/. +utils/runghc/dist-install/build/Main.hs : utils/runghc/runghc.hs | $$(dir $$@)/. "$(CP)" $< $@ endif -$(eval $(call build-prog,utils/runghc,dist,1)) +$(eval $(call build-prog,utils/runghc,dist-install,1)) install: install_runhaskell |