Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: ulm@g.o
Subject: Re: [gentoo-dev] [PATCH autotools-utils 1/4] Support installing default docs, similarly to EAPI4.
Date: Sat, 07 Jan 2012 09:43:09
Message-Id: 20120107104346.2fa7a405@pomiocik.lan
In Reply to: Re: [gentoo-dev] [PATCH autotools-utils 1/4] Support installing default docs, similarly to EAPI4. by Ulrich Mueller
1 On Sat, 7 Jan 2012 00:15:50 +0100
2 Ulrich Mueller <ulm@g.o> wrote:
3
4 > >>>>> On Fri, 6 Jan 2012, Michał Górny wrote:
5 >
6 > > if [[ ${DOCS} ]]; then
7 > > dodoc "${DOCS[@]}" || die "dodoc failed"
8 > > + else
9 > > + local f
10 > > + # same list as in PMS
11 > > + for f in README* ChangeLog AUTHORS NEWS TODO
12 > > CHANGES \
13 > > + THANKS BUGS FAQ CREDITS CHANGELOG;
14 > > do
15 > > + if [[ -s ${f} ]]; then
16 > > + dodoc "${f}" || die "(default)
17 > > dodoc ${f} failed"
18 > > + fi
19 > > + done
20 > > fi
21 >
22 > Why only "similarly to EAPI 4" and not identical with it? The latter
23 > would follow the principle of least surprise.
24
25 Well, the defaults are identical. And DOCS as non-array was never
26 supported.
27
28 --
29 Best regards,
30 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies