Currently EAPI 4 installs docs automatically in most cases: http://devmanual.gentoo.org/ebuild-writing/eapi/index.html With: if ! declare -p DOCS >/dev/null 2>&1 ; then local d for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \ FAQ CREDITS CHANGELOG ; do [[ -s "${d}" ]] && dodoc "${d}" done # TODO: wrong "declare -a" command... elif declare -p DOCS | grep -q `^declare -a` ; then dodoc "${DOCS[@]}" else dodoc ${DOCS} fi This should also be added to gnome2_src_install phase when eapi4 is being used to allow us drop most of "DOCS" setting in ebuilds inheriting this eclass. Thanks Reproducible: Always
+ 24 Nov 2012; Pacho Ramos <pacho@gentoo.org> gnome2.eclass: + Handle documentation as 'default' for eapi5 and newer (as discussed via + mail), bug #373131 +