19 Oct
2006
19 Oct
'06
11:55 a.m.
On Thu, 2006-10-19 at 12:18 +0200, Johannes Waldmann wrote:
Hello. What's the current state of Haddock support in Cabal? I checked that "runhaskell Setup.hs haddock" works fine, but how can I reference the documentation of (cabalized) package Y from the docs of package X? - Last I asked this, the answer was "write your hooks in Setup.hs" but I was hoping that meanwhile I could just put the info in the .cabal file.
This should just work. Cabal invokes haddock with --use-package=Y and then haddock use ghc-pkg to look up where Y's .haddock file and html files are. Duncan