Run Haddock with compacting GC and show RTS statistics.
[ghc-hetmet.git] / compiler / Makefile
index adf6aeb..7ca001a 100644 (file)
@@ -213,6 +213,7 @@ build.stage.%:
 doc.stage.%:
        $(CABAL) haddock --distpref dist-stage$* \
                         --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: