summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-09-17 17:33:39 +0000
committerMichał Górny <mgorny@gentoo.org>2013-09-17 17:33:39 +0000
commit30f06312477eac6d8fbbb8eeca849de8b8392918 (patch)
treeb18916800cbd24b2051b0b7fee75c3a15e23c489 /eclass/distutils-r1.eclass
parentNMU: Migrate to distutils-r1. Thanks to floppym for review. Drop old version. (diff)
downloadhistorical-30f06312477eac6d8fbbb8eeca849de8b8392918.tar.gz
historical-30f06312477eac6d8fbbb8eeca849de8b8392918.tar.bz2
historical-30f06312477eac6d8fbbb8eeca849de8b8392918.zip
Use einstalldocs.
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass22
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