Dnia 2013-08-20, o godz. 14:08:51
hasufell <hasuf...@gentoo.org> napisał(a):

> On 08/20/2013 01:54 PM, Ulrich Mueller wrote:
> >> 4. Globbing support in DOCS array
> >> 5. Appending to DOCS
> > 
> > Creeping featurism. Define an explicit src_install if you need any of
> > these, and I'm sure it will improve readability of your ebuild.
> > 
> 
> I don't see how defining phases explicitly improves readability which
> even increases chances of overwriting phases by accident and having
> further complications especially in multilib eclasses.
> 
> DOCS=( foo* )
> 
> looks pretty readable to me

It doesn't work as expected. 'foo*' gets expanded in global scope, that
is in pwd. So it would have to be:

  DOCS=( 'foo*' )

And then we'd have to do some ugly hackery to whitespace-safe expand
that in einstalldocs. Scary.

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: PGP signature

Reply via email to