2 # Copyright 1999-2012 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
5 source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
7 if ___eapi_has_docompress; then
8 die "'${0##*/}' has been banned for EAPI '$EAPI'"
13 __vecho "${0##*/}: invalid usage; takes no arguments" 1>&2
16 if ! ___eapi_has_prefix_variables; then
20 [[ -d ${ED}usr/share/doc ]] || exit 0
22 ecompressdir --ignore /usr/share/doc/${PF}/html
23 ecompressdir --queue /usr/share/doc