[Haskell-cafe] creating documentation links failed with cabal install --haddock-options=--hyperlink-source. is this a bug?

Thomas Hartman tphyahoo at gmail.com
Sat Oct 31 11:45:44 EDT 2009


cabal haddock -–hyperlink-source

installs documentation with links to source code, which also be on by defualt.

cabal install –haddock-options=–hyperlink source

does not install hyperlinked source.

cabal install –haddock-options=-–hyperlink sourceblehblehbleh

doesn’t throw an error, which suggests to me that the first command
might also be passing the flags with an error.

Whatever the case, seems to me the examples section in cabal --help
should really include examples using --with-PROG and --PROG-options. I
can't find a good one online.

fwiw, cabal install --haddock-option=hyperlink-source DID generate an
error in the output: target `hyperlink-source' is not a module name or
a source file

also, blogged about this here:
http://blog.patch-tag.com/2009/10/23/cabal-install-a-package-with-documentation


More information about the Haskell-Cafe mailing list