Gentoo Archives: gentoo-dev

From: Matti Bickel <mabi@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] prepalldocs implementation in eutils.eclass (was: prepalldocs is now banned)
Date: Thu, 19 Feb 2009 18:26:09
Message-Id: 20090219182604.GB18694@pluto
In Reply to: Re: [gentoo-dev] prepalldocs implementation in eutils.eclass (was: prepalldocs is now banned) by "Tiziano Müller"
1 Tiziano Müller <dev-zero@g.o> wrote:
2 > The only problem I see here is that either <OLDLOCATION> or ${T}/doc
3 > contains subdirs. So my proposal for the next EAPI is to allow dodoc and
4 > newdoc to operate on dirs. Which also gives the benefit to reduce this
5 > idiom:
6 > insinto /usr/share/doc/${PF}
7 > doins -r examples
8 > to:
9 > dodoc examples
10 >
11 >
12 > Your comments?
13
14 Yes, please. It will simplify dozens of ebuilds and feels 'natural' to
15 me. Keeping with doins, etc. i would propose to make it
16
17 dodoc -r $something
18
19 And thanks for your analysis.
20 --
21 Regards, Matti Bickel
22 Signed/Encrypted email preferred (key 4849EC6C)