Use relative URLs in the GHC API haddock docs; fixes #2755
authorIan Lynagh <igloo@earth.li>
Fri, 28 Nov 2008 18:45:11 +0000 (18:45 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 28 Nov 2008 18:45:11 +0000 (18:45 +0000)
compiler/Makefile

index 14347ed..b970c20 100644 (file)
@@ -212,6 +212,7 @@ 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