Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@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 09:37:11
Message-Id: 18845.10309.207236.485876@a1ihome1.kph.uni-mainz.de
In Reply to: Re: [gentoo-dev] prepalldocs implementation in eutils.eclass (was: prepalldocs is now banned) by "Tiziano Müller"
1 >>>>> On Thu, 19 Feb 2009, Tiziano Müller wrote:
2
3 > Instead of breaking things you could have tried to come up with a
4 > real solution.
5
6 This could be said about the council's decision as well.
7
8 > [1]
9 > src_install() {
10 > emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}"
11 > prepalldocs
12 > }
13 > (or similar)
14 > will change to:
15 > src_install() {
16 > emake DESTDIR="${D}" docdir="${T}/doc"
17 > dodoc "${T}/doc"
18 > }
19
20 This will not work. dodoc operates only on files, not on directories.
21
22 Besides, what do we win by this unnecessary copying?
23
24 Ulrich

Replies