Fix the doc directory on Windows
authorIan Lynagh <igloo@earth.li>
Wed, 29 Sep 2010 13:33:28 +0000 (13:33 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 29 Sep 2010 13:33:28 +0000 (13:33 +0000)
utils/ghc-cabal/ghc-cabal.hs

index 41abd39..fb1c870 100644 (file)
@@ -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"
                         }