1 |
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=397659 |
2 |
--- |
3 |
eclass/autotools-utils.eclass | 9 +++++++++ |
4 |
1 files changed, 9 insertions(+), 0 deletions(-) |
5 |
|
6 |
diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass |
7 |
index f2daa55..e5ce908 100644 |
8 |
--- a/eclass/autotools-utils.eclass |
9 |
+++ b/eclass/autotools-utils.eclass |
10 |
@@ -428,6 +428,15 @@ autotools-utils_src_install() { |
11 |
# XXX: support installing them from builddir as well? |
12 |
if [[ ${DOCS} ]]; then |
13 |
dodoc "${DOCS[@]}" || die "dodoc failed" |
14 |
+ else |
15 |
+ local f |
16 |
+ # same list as in PMS |
17 |
+ for f in README* ChangeLog AUTHORS NEWS TODO CHANGES \ |
18 |
+ THANKS BUGS FAQ CREDITS CHANGELOG; do |
19 |
+ if [[ -s ${f} ]]; then |
20 |
+ dodoc "${f}" || die "(default) dodoc ${f} failed" |
21 |
+ fi |
22 |
+ done |
23 |
fi |
24 |
if [[ ${HTML_DOCS} ]]; then |
25 |
dohtml -r "${HTML_DOCS[@]}" || die "dohtml failed" |
26 |
-- |
27 |
1.7.8.2 |