$(MAKE) --no-print-directory -C $$i $(MFLAGS) all; \
if [ $$? -eq 0 -o $$x_on_err -eq 0 ] ; then true; else exit 1; fi; \
done
- $(MAKE) -C ghc stage=1 boot
- $(MAKE) -C ghc stage=1
$(MAKE) -C rts boot
$(MAKE) -C rts
$(MAKE) -C libraries all
ifeq "$(HADDOCK_DOCS)" "YES"
$(MAKE) -C compiler stage=2 doc
endif
- $(MAKE) -C ghc stage=2 boot
- $(MAKE) -C ghc stage=2
stage3 : check-all
$(MAKE) -C compiler stage=3 boot
$(MAKE) -C compiler stage=3
- $(MAKE) -C ghc stage=3 boot
- $(MAKE) -C ghc stage=3
bootstrap : bootstrap2
build.stage.%:
$(MAKE) -f Makefile-stage$* stage=$*
$(CABAL) register --distpref dist-stage$* --inplace
+ $(MAKE) -C ../ghc stage=$*
doc.stage.%:
$(CABAL) haddock --distpref dist-stage$*
endif
endif
+dist-stage%: boot.stage.%
+
boot.stage.%:
$(CABAL) configure --distpref dist-stage$* \
$(INSTALL_DIRS_CONFIGURE_FLAGS) \
--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' "" \