On Thu, Sep 30, 2010 at 10:12:54PM +0300, Sergei Trofimovich wrote:
> On Thu, 30 Sep 2010 19:28:21 +0100
> Ian Lynagh <[email protected]> wrote:
> 
> > > Wed Sep 29 22:48:17 EEST 2010  Sergei Trofimovich 
> > > <[email protected]>
> > >   * Avoid installing symlink to haddoc when wrapper installation is 
> > > disabled
> > 
> > I've just fixed the build system so it won't create the haddock symlink
> > if it isn't installing haddock. Please let me know if that isn't
> > sufficient for your needs.
> 
> I'll give it a try (will take some time before I report back), but seems it 
> will
> not help in our case or I am missing something.
> 
> We, gentoo, use rather special setup: we build haddock, but do not
> install wrapper in /usr/bin/ (in order to allow easier haddock upgrades),
> so we apply such haddock patch before building ghc:
> 
> FILE: ghc/utils/haddock/ghc.mk
> 
> -utils/haddock_dist_INSTALL_SHELL_WRAPPER = YES
> +utils/haddock_dist_INSTALL_SHELL_WRAPPER = NO

OK, my patch won't help you then. It's a slightly odd thing for the
build system to support, though, and seeing as you have to patch the
build system anyway, couldn't you just remove this line instead?:

install: install_utils/haddock_link


Thanks
Ian

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to