blob: 9fec235d6d8e2b3d1a230b59bf7e1322cfd9e144 [file] [log] [blame]
#!/bin/bash
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
if [[ -z ${PORTAGE_BIN_PATH} ]]; then
PORTAGE_BIN_PATH=$(dirname "$(dirname "$(readlink -f "$0")")")
fi
source "${PORTAGE_BIN_PATH}/isolated-functions.sh"
if ___eapi_has_docompress; then
die "'${0##*/}' has been banned for EAPI '$EAPI'"
exit 1
fi
if [[ -n $1 ]] ; then
__vecho "${0##*/}: invalid usage; takes no arguments" 1>&2
fi
if ! ___eapi_has_prefix_variables; then
ED=${D}
fi
[[ -d ${ED}usr/share/doc ]] || exit 0
ecompressdir --ignore /usr/share/doc/${PF}/html
ecompressdir --queue /usr/share/doc