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
commit98ffcc6dda4a6a48bd12870422e8d49a20c61965 (patch)
treebf5f4aab1d15638c5d00b86d6d9a0cca6d04eca2 /eclass/distutils-r1.eclass
parentNMU: Migrate to distutils-r1. Thanks to floppym for review. Drop old version. (diff)
downloadgentoo-2-98ffcc6dda4a6a48bd12870422e8d49a20c61965.tar.gz
gentoo-2-98ffcc6dda4a6a48bd12870422e8d49a20c61965.tar.bz2
gentoo-2-98ffcc6dda4a6a48bd12870422e8d49a20c61965.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