From aacb5d3be42eb354596ca19db836bd3085bc2da9 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 12 Mar 2009 05:55:37 +0000 Subject: Move ebuild helpers into an ebuild-helpers subdirectory. (trunk r13063) svn path=/main/branches/2.1.6/; revision=13077 --- bin/ebuild-helpers/prepalldocs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 bin/ebuild-helpers/prepalldocs (limited to 'bin/ebuild-helpers/prepalldocs') diff --git a/bin/ebuild-helpers/prepalldocs b/bin/ebuild-helpers/prepalldocs new file mode 100755 index 000000000..c9509d1ff --- /dev/null +++ b/bin/ebuild-helpers/prepalldocs @@ -0,0 +1,16 @@ +#!/bin/bash +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh + +if [[ -n $1 ]] ; then + vecho "${0##*/}: invalid usage; takes no arguments" 1>&2 +fi + +cd "${D}" +[[ -d usr/share/doc ]] || exit 0 + +ecompressdir --ignore /usr/share/doc/${PF}/html +ecompressdir --queue /usr/share/doc -- cgit v1.2.3-1-g7c22