
Thank you. As it turns out, I was aware of that recipe. What I wanted was to be able to use cabal install's nice dependency following features and still get source links in my documentation. Personally, I feel that inclusion of source and docs should be the DEFAULT for cabal, as well as for binary distributions of ghc. -rhayes On Dec 21, 2008, at 1:11 AM, Thomas Hartman wrote:
the answer: not cabal install, just cabal.
thartman@thartman-laptop:~/haskellInstalls/smallInstalls/ pureMD5-0.2.3> thartman@thartman-laptop:~/haskellInstalls/smallInstalls/ pureMD5-0.2.3>cabal --help | grep -i doc haddock Generate Haddock HTML documentation. thartman@thartman-laptop:~/haskellInstalls/smallInstalls/ pureMD5-0.2.3>cabal haddock --help | grep -i link --hyperlink-source Hyperlink the documentation to the source code thartman@thartman-laptop:~/haskellInstalls/smallInstalls/ pureMD5-0.2.3>cabal haddock --hyperlink-source
2008/12/21 R Hayes
: Is there a way I can get Haddock Docs WITH links to source (local) from modules installed with "cabal install xxx"?
Getting the docs themselves is pretty easy by changing either ~/.cabal/config or using --enable-documentation.
Automatically generating the source (colourised or not) and integrated links eludes me.
-r _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe