X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fghc-cabal%2Fghc-cabal.hs;h=b940a2dff561f6a9b0755d38021509c5407205b5;hb=7f4b8d9bfbfb0556d51ba1fb25f18e424bd5bf9c;hp=ef4e989e6c30df0b7ba49ab5174a46b78f3d7ab0;hpb=6e232f498ba600e7d7cc4938f5f2e6ce5d300bbc;p=ghc-hetmet.git diff --git a/utils/ghc-cabal/ghc-cabal.hs b/utils/ghc-cabal/ghc-cabal.hs index ef4e989..b940a2d 100644 --- a/utils/ghc-cabal/ghc-cabal.hs +++ b/utils/ghc-cabal/ghc-cabal.hs @@ -198,8 +198,8 @@ doInstall ghc ghcpkg strip topdir directory distDir libsubdir = toPathTemplate "$pkgid", docdir = toPathTemplate $ if relocatableBuild - then "$topdir/$pkg" - else (myDocdir "$pkg"), + then "$topdir/$pkgid" + else (myDocdir "$pkgid"), htmldir = toPathTemplate "$docdir" } progs = withPrograms lbi