From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LZi7Q-0006Bz-Fi for garchives@archives.gentoo.org; Wed, 18 Feb 2009 08:49:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68578E0468; Wed, 18 Feb 2009 08:49:23 +0000 (UTC) Received: from smtprelay10.ispgateway.de (smtprelay10.ispgateway.de [80.67.29.24]) by pigeon.gentoo.org (Postfix) with ESMTP id 3FADDE0468 for ; Wed, 18 Feb 2009 08:49:23 +0000 (UTC) Received: from [80.134.86.44] (helo=arkane.local) by smtprelay10.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1LZi7O-0007sx-7W for gentoo-dev@lists.gentoo.org; Wed, 18 Feb 2009 09:49:22 +0100 Received: by arkane.local (Postfix, from userid 1000) id B683AB799; Wed, 18 Feb 2009 09:48:07 +0100 (CET) Date: Wed, 18 Feb 2009 09:48:07 +0100 From: Torsten Veller To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Re: prepalldocs implementation in eutils.eclass Message-ID: <20090218094305.TAdcd42.tv@veller.net> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20090213213017.GA3452@dodo.hsd1.nj.comcast.net> <9d2010770902180007w4b2e8742y25af752e042abdd0@mail.gmail.com> <20090218090803.TAf7b2c.tv@veller.net> <9d2010770902180022yaf1d202xa75541eec7299b81@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9d2010770902180022yaf1d202xa75541eec7299b81@mail.gmail.com> Jabber-ID: tove@jabber.ccc.de X-PGP-Fingerprint: 0416 3C11 8D79 65B9 AAD0 2065 BBC7 14D1 9C67 CD96 User-Agent: Mutt/1.5.19 (2009-01-27) X-Df-Sender: 1067115 X-Archives-Salt: 5e8d0cf8-c8e6-4af2-91f1-cfb31787237f X-Archives-Hash: 5617002fb58ea82487e23e54a5ed02cb * Michael Sterrett : > Patches welcome. --- eutils.eclass +++ eutils.eclass @@ -1823,21 +1823,3 @@ newbin "${tmpwrapper}" "${wrapper}" || die fi } - -# @FUNCTION: prepalldocs -# @USAGE: -# @DESCRIPTION: -# 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 ]] || exit 0 - - ecompressdir --ignore /usr/share/doc/${PF}/html - ecompressdir --queue /usr/share/doc -}