X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FMakefile;h=de9ce9addd3361c42c2b98a35bb1cd8ba90507ae;hb=a196ef836e60e20714fd3e6bc9003979d6e5a139;hp=adf6aeb424f0cdb7363ddfaa42d01d391cbea38e;hpb=b7e0e97d14c7ffdae519ccab9977e9ae777b3f92;p=ghc-hetmet.git diff --git a/compiler/Makefile b/compiler/Makefile index adf6aeb..de9ce9a 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -188,6 +188,7 @@ CONFIGURE_FLAGS_STAGE3 = $(CONFIGURE_FLAGS_STAGE2) CONFIGURE_FLAGS_STAGE1 += $(USE_BOOT_CONFIGURE_FLAGS) CONFIGURE_FLAGS_STAGE2 += $(USE_STAGE1_CONFIGURE_FLAGS) CONFIGURE_FLAGS_STAGE3 += $(USE_STAGE2_CONFIGURE_FLAGS) +CONFIGURE_FLAGS_STAGE3 += --package-db $(STAGE3_PACKAGE_CONF) # In a source dist we don't need to worry about Parser.y(.pp) as we have # the .hs file pre-generated @@ -212,7 +213,9 @@ build.stage.%: doc.stage.%: $(CABAL) haddock --distpref dist-stage$* \ + --html-location='../$$pkg' \ --haddock-option=--optghc=-DSTAGE=$* \ + --haddock-option=+RTS --haddock-option=-s --haddock-option=-c --haddock-option=-RTS \ --with-haddock=$(FPTOOLS_TOP_ABS)/utils/haddock/install-inplace/bin/haddock install: @@ -491,7 +494,7 @@ GHCTAGS = $(TOP)/utils/ghctags/ghctags.exe else GHCTAGS = $(TOP)/utils/ghctags/ghctags-inplace endif -GHCTAGS_ROOT = main/GHC.hs +GHCTAGS_ROOT = main/GHC.hs ghci/InteractiveUI.hs main/PprTyThing.hs # etags for stage2 is actually broken since it requires building # ghctags against an older ghc api