From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-commits+bounces-415431-garchives=archives.gentoo.org@lists.gentoo.org>) id 1Rjesa-0005Wz-LU for garchives@archives.gentoo.org; Sat, 07 Jan 2012 22:36:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CBC2421C034; Sat, 7 Jan 2012 22:36:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 964E521C034 for <gentoo-commits@lists.gentoo.org>; Sat, 7 Jan 2012 22:36:40 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 15C421B4019 for <gentoo-commits@lists.gentoo.org>; Sat, 7 Jan 2012 22:36:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 27F1780042 for <gentoo-commits@lists.gentoo.org>; Sat, 7 Jan 2012 22:36:39 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org> Message-ID: <ec5be66c90dddba6c4eb8b8e091e4c779bb7c06b.mgorny@gentoo> Subject: [gentoo-commits] dev/mgorny:master commit in: eclass/ X-VCS-Repository: dev/mgorny X-VCS-Files: eclass/autotools-utils.eclass X-VCS-Directories: eclass/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ec5be66c90dddba6c4eb8b8e091e4c779bb7c06b Date: Sat, 7 Jan 2012 22:36:39 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 1830242c-36d0-49fa-91fd-b90940ed6acd X-Archives-Hash: 0e877873302823b8012a54872de4e412 commit: ec5be66c90dddba6c4eb8b8e091e4c779bb7c06b Author: Micha=C5=82 G=C3=B3rny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Jan 6 15:13:09 2012 +0000 Commit: Micha=C5=82 G=C3=B3rny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Jan 6 22:06:23 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/mgorny.git;a=3D= commit;h=3Dec5be66c Support installing default docs, similarly to EAPI4. Fixes: https://bugs.gentoo.org/show_bug.cgi?id=3D397659 --- eclass/autotools-utils.eclass | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclas= s 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"