Gentoo Archives: gentoo-dev

From: Luca Barbato <lu_zero@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] prepalldocs implementation in eutils.eclass
Date: Thu, 19 Feb 2009 10:57:52
Message-Id: 499D3B2C.3060601@gentoo.org
In Reply to: Re: [gentoo-dev] prepalldocs implementation in eutils.eclass (was: prepalldocs is now banned) by "Tiziano Müller"
1 Tiziano Müller 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 I like the idea, not sure if dodoc could take an -r or just accept
15 automatically directories.
16
17 lu
18
19 --
20
21 Luca Barbato
22 Gentoo Council Member
23 Gentoo/linux Gentoo/PPC
24 http://dev.gentoo.org/~lu_zero