summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-02-18 20:17:18 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-02-18 20:17:18 +0000
commit60b917fd3ae1c76f18e0096f7fbe5cbdd8df4e55 (patch)
tree8a57688f614c87a1dbfdd276dcc8b2901924eb3d /eclass/eutils.eclass
parentStable for HPPA (bug #248083). (diff)
downloadhistorical-60b917fd3ae1c76f18e0096f7fbe5cbdd8df4e55.tar.gz
historical-60b917fd3ae1c76f18e0096f7fbe5cbdd8df4e55.tar.bz2
historical-60b917fd3ae1c76f18e0096f7fbe5cbdd8df4e55.zip
Comment about prepalldocs with approval from lu_zero and dev-zero.
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r--eclass/eutils.eclass30
1 files changed, 18 insertions, 12 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index ee79b337edb0..b7d7e6e3529c 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.312 2009/02/18 18:40:07 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.313 2009/02/18 20:17:18 betelgeuse Exp $
# @ECLASS: eutils.eclass
# @MAINTAINER:
@@ -1830,14 +1830,20 @@ EOF
# Compress files in /usr/share/doc which are not already
# compressed, excluding /usr/share/doc/${PF}/html.
# Uses the ecompressdir to do the compression.
-prepalldocs() {
- if [[ -n $1 ]] ; then
- ewarn "prepalldocs: invalid usage; takes no arguments"
- fi
-
- cd "${D}"
- [[ -d usr/share/doc ]] || return 0
-
- ecompressdir --ignore /usr/share/doc/${PF}/html
- ecompressdir --queue /usr/share/doc
-}
+# 2009-02-18 by betelgeuse:
+# Commented because ecompressdir is even more internal to
+# Portage than prepalldocs (it's not even mentioned in man 5
+# ebuild). Please submit a better version for review to gentoo-dev
+# if you want prepalldocs here.
+#prepalldocs() {
+# if [[ -n $1 ]] ; then
+# ewarn "prepalldocs: invalid usage; takes no arguments"
+# fi
+
+# cd "${D}"
+# [[ -d usr/share/doc ]] || return 0
+
+# find usr/share/doc -exec gzip {} +
+# ecompressdir --ignore /usr/share/doc/${PF}/html
+# ecompressdir --queue /usr/share/doc
+#}