Haddock version during build

Ian Lynagh igloo at earth.li
Tue Jun 3 14:28:45 EDT 2008


On Tue, Jun 03, 2008 at 08:10:13PM +0200, David Waern wrote:
> 2008/6/3 Ian Lynagh <igloo at earth.li>:
> > For a *nix binary distribution you can generate the shell wrapper when
> > installing, like we do for GHC.
> 
> For GHC you know where the libdir is installed, so it is easy to
> generate the wrapper. For Haddock, this is not the case

You can ask the user (or give the option to search).

But if haddock2 comes with GHC then we do know where GHC is installed.

> It could be done by Haddock itself, no need for a wrapper script.

You need a wrapper script if you want to remember the answer.

You don't need one if you search every time you are run, but personally
I don't like that idea.


Thanks
Ian



More information about the Cvs-libraries mailing list