/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.312 Revision 1.313
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.312 2009/02/18 18:40:07 mr_bones_ Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.313 2009/02/18 20:17:18 betelgeuse Exp $
4 4
5# @ECLASS: eutils.eclass 5# @ECLASS: eutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: many extra (but common) functions that are used in ebuilds 8# @BLURB: many extra (but common) functions that are used in ebuilds
1828# @USAGE: 1828# @USAGE:
1829# @DESCRIPTION: 1829# @DESCRIPTION:
1830# Compress files in /usr/share/doc which are not already 1830# Compress files in /usr/share/doc which are not already
1831# compressed, excluding /usr/share/doc/${PF}/html. 1831# compressed, excluding /usr/share/doc/${PF}/html.
1832# Uses the ecompressdir to do the compression. 1832# Uses the ecompressdir to do the compression.
1833# 2009-02-18 by betelgeuse:
1834# Commented because ecompressdir is even more internal to
1835# Portage than prepalldocs (it's not even mentioned in man 5
1836# ebuild). Please submit a better version for review to gentoo-dev
1837# if you want prepalldocs here.
1833prepalldocs() { 1838#prepalldocs() {
1834 if [[ -n $1 ]] ; then 1839# if [[ -n $1 ]] ; then
1835 ewarn "prepalldocs: invalid usage; takes no arguments" 1840# ewarn "prepalldocs: invalid usage; takes no arguments"
1836 fi 1841# fi
1837 1842
1838 cd "${D}" 1843# cd "${D}"
1839 [[ -d usr/share/doc ]] || return 0 1844# [[ -d usr/share/doc ]] || return 0
1840 1845
1846# find usr/share/doc -exec gzip {} +
1841 ecompressdir --ignore /usr/share/doc/${PF}/html 1847# ecompressdir --ignore /usr/share/doc/${PF}/html
1842 ecompressdir --queue /usr/share/doc 1848# ecompressdir --queue /usr/share/doc
1843} 1849#}

Legend:
Removed from v.1.312  
changed lines
  Added in v.1.313

  ViewVC Help
Powered by ViewVC 1.1.20