#140 (Cabal doesn't allow doc/html/<package name> to be overridden)

Ian Lynagh igloo at earth.li
Tue Jun 5 13:44:08 EDT 2007


On Tue, Jun 05, 2007 at 11:19:27AM +0100, Ross Paterson wrote:
> igloo writes:
> > Distribution.Simple.LocalBuildInfo uses
> >
> >   haddockPref pkg_descr
> >       = foldl1 (</>) [distPref, "doc", "html", pkgName (package pkg_descr)]
> >
> > and provides no way to override it. This should be a new field docdir
> > (or similar), and be overridable with a configure flag.
> 
> haddockPref determines where the documentation is built; mkHaddockDir
> says where it is installed

Sorry, yes, you're right. I've updated the bug report.


Thanks
Ian



More information about the cabal-devel mailing list