projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put docs into versioned directory names; fixes trac #3532
[ghc-hetmet.git]
/
utils
/
ghc-cabal
/
ghc-cabal.hs
diff --git
a/utils/ghc-cabal/ghc-cabal.hs
b/utils/ghc-cabal/ghc-cabal.hs
index
ef4e989
..
b940a2d
100644
(file)
--- 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
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
htmldir = toPathTemplate "$docdir"
}
progs = withPrograms lbi