Dnia 2013-08-21, o godz. 14:49:45
Pacho Ramos <pa...@gentoo.org> napisał(a):

> El mié, 21-08-2013 a las 14:35 +0200, Ulrich Mueller escribió:
> > >>>>> On Wed, 21 Aug 2013, Pacho Ramos wrote:
> > 
> > > Could appending to DOCS be allowed? I have seen a lot of time of me
> > > needing to install all docs "manually" only to add a doc file over
> > > default DOCS. Would be interesting to simply do: DOCS+=( otherfile )
> > 
> > > instead of needing to specify all files handled by the install
> > > function
> > 
> > We discussed this in bug 449806 already. Problems that need to be
> > solved:
> > - If we want to keep support for both array and whitespace-separated
> >   list then we can't preset a global variable.
> > - How do we distinguish between DOCS being unset (i.e. install default
> >   docs) and DOCS being empty (i.e. don't install anything)?
> > - We could introduce some special syntax like a __default__ marker,
> >   but do we want such in-band signalling?
> 
> Well, the last comment by mgorny in bug report after some suggestions
> rised there made me think I should wait for the einstalldocs "thing" :/

Yes, for something like:

src_install() {
  ...
  einstalldocs
  dodoc FOO
}

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: PGP signature

Reply via email to