diff options
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 94833623d9e2..d51ce44ea69a 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.79 2013/09/17 13:33:55 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.80 2013/09/17 17:33:39 mgorny Exp $ # @ECLASS: distutils-r1 # @MAINTAINER: @@ -510,25 +510,7 @@ distutils-r1_python_install() { distutils-r1_python_install_all() { debug-print-function ${FUNCNAME} "${@}" - if declare -p DOCS &>/dev/null; then - # an empty list == don't install anything - if [[ ${DOCS[@]} ]]; then - dodoc -r "${DOCS[@]}" - fi - 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}" - fi - done - fi - - if declare -p HTML_DOCS &>/dev/null; then - dohtml -r "${HTML_DOCS[@]}" - fi + einstalldocs if declare -p EXAMPLES &>/dev/null; then local INSDESTTREE=/usr/share/doc/${PF}/examples |