From: Ian Lynagh Date: Fri, 28 Nov 2008 18:45:11 +0000 (+0000) Subject: Use relative URLs in the GHC API haddock docs; fixes #2755 X-Git-Tag: 2009-03-13~383 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=dab87cc9e1269aa7e2e0589e156e024c16b85b1f Use relative URLs in the GHC API haddock docs; fixes #2755 --- diff --git a/compiler/Makefile b/compiler/Makefile index 14347ed..b970c20 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -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