summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-09-29 13:33:28 +0000
committerIan Lynagh <igloo@earth.li>2010-09-29 13:33:28 +0000
commit915ea7223dfd3050922008b0ca6dfdf921b31578 (patch)
treec46417fda4236eef357abfd1466c66fed54e13a3
parent08200f4d147529c8c97abce9174d02410a8f5d31 (diff)
downloadhaskell-915ea7223dfd3050922008b0ca6dfdf921b31578.tar.gz
Fix the doc directory on Windows
-rw-r--r--utils/ghc-cabal/ghc-cabal.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ghc-cabal/ghc-cabal.hs b/utils/ghc-cabal/ghc-cabal.hs
index 41abd390e1..fb1c870f3d 100644
--- a/utils/ghc-cabal/ghc-cabal.hs
+++ b/utils/ghc-cabal/ghc-cabal.hs
@@ -176,7 +176,7 @@ doInstall ghc ghcpkg strip topdir directory distDir
libsubdir = toPathTemplate "$pkgid",
docdir = toPathTemplate $
if relocatableBuild
- then "$topdir/$pkgid"
+ then "$topdir/../doc/html/libraries/$pkgid"
else (myDocdir </> "$pkgid"),
htmldir = toPathTemplate "$docdir"
}