[Haskell-cafe] Where does documentation get installed with cabal?

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sun Aug 23 17:11:36 EDT 2009

On Thu, 2009-08-20 at 14:17 -0400, John Dorsey wrote:

> Perhaps it's in /usr/local/share/doc.  Mine seem to end up there, and I
> don't recall whether I specified that at any point.
> It's not in my ~/.cabal/config, but I am using the very helpful
>   user-install: False
>   documentation: True
> I suspect /usr/local/share/doc is the default for documentation in global
> installs, but I can't go verify that at the moment.

It's given further down in the ~/.cabal/config file. The commented out
fields show the default values:

install-dirs global
  -- prefix: /usr/local
  -- datadir: $prefix/share
  -- docdir: $datadir/doc/$pkgid

hence "/usr/local/share/doc/$pkgid"


More information about the Haskell-Cafe mailing list