Fixes: https://bugs.gentoo.org/show_bug.cgi?id=397659
---
 eclass/autotools-utils.eclass |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass
index f2daa55..e5ce908 100644
--- a/eclass/autotools-utils.eclass
+++ b/eclass/autotools-utils.eclass
@@ -428,6 +428,15 @@ autotools-utils_src_install() {
        # XXX: support installing them from builddir as well?
        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 \
+                               THANKS BUGS FAQ CREDITS CHANGELOG; do
+                       if [[ -s ${f} ]]; then
+                               dodoc "${f}" || die "(default) dodoc ${f} 
failed"
+                       fi
+               done
        fi
        if [[ ${HTML_DOCS} ]]; then
                dohtml -r "${HTML_DOCS[@]}" || die "dohtml failed"
-- 
1.7.8.2


Reply via email to