diff options
author | Ian Lynagh <igloo@earth.li> | 2008-07-11 15:14:48 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-07-11 15:14:48 +0000 |
commit | 2a150d4b7d9b6cb7cca96b10749f406128ca57b6 (patch) | |
tree | e00022904cea0b94a0c33fc56f3c8d2975af82e9 /mk | |
parent | 28a5c73a83e8f27c31cad02da07c81e4e6764303 (diff) | |
download | haskell-2a150d4b7d9b6cb7cca96b10749f406128ca57b6.tar.gz |
Split up Cabal configure flag variables for more flexibility
Diffstat (limited to 'mk')
-rw-r--r-- | mk/cabal-flags.mk | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/mk/cabal-flags.mk b/mk/cabal-flags.mk index ad01deb667..cabe3285a8 100644 --- a/mk/cabal-flags.mk +++ b/mk/cabal-flags.mk @@ -44,7 +44,7 @@ endif # We put non-existant paths in when configuring things that we plan to # install, as we require that builds don't depend on these paths when # making bindists. -INSTALL_CONFIGURE_FLAGS = \ +INSTALL_DIRS_CONFIGURE_FLAGS = \ --prefix=$(NONEXISTENT) \ --bindir=$(NONEXISTENT) \ --libdir=$(NONEXISTENT) \ @@ -52,18 +52,20 @@ INSTALL_CONFIGURE_FLAGS = \ --datadir=$(NONEXISTENT) \ --docdir=$(NONEXISTENT) \ --haddockdir=$(NONEXISTENT) \ - --htmldir=$(NONEXISTENT) \ + --htmldir=$(NONEXISTENT) + +INPLACE_DIRS_CONFIGURE_FLAGS = \ + --prefix=`$(TOP)/utils/pwd/pwd forwardslash`/install-inplace + +USE_STAGE1_CONFIGURE_FLAGS = \ --with-compiler=$(FPTOOLS_TOP_ABS)/compiler/stage1/ghc-inplace \ --with-hc-pkg=$(FPTOOLS_TOP_ABS)/utils/ghc-pkg/ghc-pkg-inplace \ - --with-hsc2hs=$(HSC2HS_INPLACE) \ - $(COMMON_CONFIGURE_FLAGS) + --with-hsc2hs=$(HSC2HS_INPLACE) -INPLACE_CONFIGURE_FLAGS = \ - --prefix=`$(TOP)/utils/pwd/pwd forwardslash`/install-inplace \ +USE_BOOT_CONFIGURE_FLAGS = \ --with-compiler=$(GHC) \ --with-hc-pkg=$(GHC_PKG) \ - --package-db $(FPTOOLS_TOP_ABS)/libraries/bootstrapping.conf \ - $(COMMON_CONFIGURE_FLAGS) + --package-db $(FPTOOLS_TOP_ABS)/libraries/bootstrapping.conf # XXX # --bindir='$$prefix/bin' \ |