#1093: Windows: haddock-html fields are wrong in package.conf
--------------------------+-------------------------------------------------
Reporter: simonmar | Owner: igloo
Type: bug | Status: new
Priority: normal | Milestone: 6.6.1
Component: Build System | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Easy (1 hr)
Testcase: | Architecture: Unknown
Os: Windows |
--------------------------+-------------------------------------------------
Comment (by igloo):
I can't reproduce the problem - everything seems to not use doc/ in both
the 6.6 branch and the HEAD.
However, there are a couple of issues outstanding. Here base was built as
part of the GHC build process while mtl was built with cabal; note the
varying number of '\'s and quotes in one case only:
{{{
$ ~/ghc/darcs/build/inst/bin/ghc-pkg field base haddock-html
haddock-html: C:/cygwin/home/ian/ghc/darcs/build/inst\html\libraries\base
$ ~/ghc/darcs/build/inst/bin/ghc-pkg field mtl haddock-html
haddock-html: "C:\\Program Files\\Common Files\\mtl-1.0\\doc\\html"
}}}
Trying to `./Setup haddock` a package that uses mtl gives
{{{
Warning: cannot use package mtl-1.0:
HTML directory "C:\\Program Files\\Common Files\\mtl-1.0\\doc\\html"
does not exist.
}}}
but
{{{
$ ls 'c:\Program Files\Common Files\mtl-1.0\doc\html\'
Control-Monad-Cont.html Control-Monad-State.html haskell_icon.gif
...
}}}
I'm not sure why the docs are going there at all, given I gave cabal a
prefix when configuring.
Finally, just a note that a darcs version of haddock is necessary as 0.8
doesn't strip line endings correctly.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1093>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs