summaryrefslogtreecommitdiff
path: root/compiler/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-11-28 18:45:11 +0000
committerIan Lynagh <igloo@earth.li>2008-11-28 18:45:11 +0000
commitdab87cc9e1269aa7e2e0589e156e024c16b85b1f (patch)
tree9996887b7d5abc4545308cd07dc5ac5e8bf46fa0 /compiler/Makefile
parentdacc1aa41699ee6c8f4c49ef6061c95ea5e70017 (diff)
downloadhaskell-dab87cc9e1269aa7e2e0589e156e024c16b85b1f.tar.gz
Use relative URLs in the GHC API haddock docs; fixes #2755
Diffstat (limited to 'compiler/Makefile')
-rw-r--r--compiler/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index 14347ed407..b970c208ae 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