Currently there are quite a few ebuilds in the tree that execute dodoc or dohtml for files that do not exist. I think it would be nice to have ebuilds die if this is the case. To not break current ebuilds this would only happen with FEATURES="stricter". This is what I currently do in my bashrc. Obviously when integreted to portage one can use helper functions like hasq which are not available in bashrc.
if [[ "${FEATURES/stricter}" != "${FEATURES}" ]]; then
_makefail() {
bin="/usr/lib/portage/bin/${1}"
shift 1
"${bin}" "[EMAIL PROTECTED]" || die "${bin} [EMAIL PROTECTED] failed"
}
dodoc() { _makefail ${FUNCNAME} "[EMAIL PROTECTED]"; }
dohtml() { _makefail ${FUNCNAME} "[EMAIL PROTECTED]"; }
fi
Regards,
Petteri
signature.asc
Description: OpenPGP digital signature
