Re: [gentoo-dev] [PATCH autotools-utils 1/4] Support installing default docs, similarly to EAPI4.

2012-01-07 Thread Michał Górny
On Sat, 7 Jan 2012 00:15:50 +0100 Ulrich Mueller u...@gentoo.org wrote: On Fri, 6 Jan 2012, Michał Górny wrote: if [[ ${DOCS} ]]; then dodoc ${DOCS[@]} || die dodoc failed + else + local f + # same list as in PMS + for f in README*

Re: [gentoo-dev] [PATCH autotools-utils 1/4] Support installing default docs, similarly to EAPI4.

2012-01-07 Thread Ulrich Mueller
On Sat, 7 Jan 2012, Michał Górny wrote: Why only similarly to EAPI 4 and not identical with it? The latter would follow the principle of least surprise. Well, the defaults are identical. And DOCS as non-array was never supported. Yes, unfortunately some eclasses support DOCS only as an

Re: [gentoo-dev] [PATCH autotools-utils 1/4] Support installing default docs, similarly to EAPI4.

2012-01-07 Thread Michał Górny
On Sat, 7 Jan 2012 11:05:09 +0100 Ulrich Mueller u...@gentoo.org wrote: On Sat, 7 Jan 2012, Michał Górny wrote: Why only similarly to EAPI 4 and not identical with it? The latter would follow the principle of least surprise. Well, the defaults are identical. And DOCS as non-array was

Re: [gentoo-dev] [PATCH autotools-utils 1/4] Support installing default docs, similarly to EAPI4.

2012-01-07 Thread Ulrich Mueller
On Sat, 7 Jan 2012, Michał Górny wrote: On Sat, 7 Jan 2012 11:05:09 +0100 Ulrich Mueller u...@gentoo.org wrote: Yes, unfortunately some eclasses support DOCS only as an array, others only as a space-separated list. IMHO, when such code is touched, it should be changed in a way that both

Re: [gentoo-dev] [PATCH autotools-utils 1/4] Support installing default docs, similarly to EAPI4.

2012-01-06 Thread Ulrich Mueller
On Fri, 6 Jan 2012, Michał Górny wrote: if [[ ${DOCS} ]]; then dodoc ${DOCS[@]} || die dodoc failed + else + local f + # same list as in PMS + for f in README* ChangeLog AUTHORS NEWS TODO CHANGES \ +