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:
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