diff options
author | Ian Lynagh <igloo@earth.li> | 2008-08-17 11:42:02 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-08-17 11:42:02 +0000 |
commit | 06781a444251b6aabfd9079f85ebcfa794f9db23 (patch) | |
tree | fdcc4e267adbac176fa897fc2460e54b2fd60170 /ghc | |
parent | cf690bef85f23a001d110daad26b11057f58d8fc (diff) | |
download | haskell-06781a444251b6aabfd9079f85ebcfa794f9db23.tar.gz |
When making in compiler/, automatically make in ghc/ when we are done
Diffstat (limited to 'ghc')
-rw-r--r-- | ghc/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ghc/Makefile b/ghc/Makefile index 5eff4daea8..9d5ded7c99 100644 --- a/ghc/Makefile +++ b/ghc/Makefile @@ -89,6 +89,8 @@ TOUCH_MAIN = $(RM) dist-stage1/build/ghc/ghc-tmp/Main.o endif endif +dist-stage%: boot.stage.% + boot.stage.%: $(CABAL) configure --distpref dist-stage$* \ $(INSTALL_DIRS_CONFIGURE_FLAGS) \ @@ -98,7 +100,7 @@ boot.stage.%: --datadir='$$libdir' \ --datasubdir=. -build.stage.%: +build.stage.%: dist-stage% $(TOUCH_MAIN) $(CABAL) build --distpref dist-stage$* $(BUILD_FLAGS) $(INSTALL_PACKAGE) install '$(GHC_PKG_PROG)' 'XXX/package.conf' "" \ |