summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/prepalldocs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild-helpers/prepalldocs')
-rwxr-xr-xbin/ebuild-helpers/prepalldocs5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/ebuild-helpers/prepalldocs b/bin/ebuild-helpers/prepalldocs
index 6705f5e79..f7026c679 100755
--- a/bin/ebuild-helpers/prepalldocs
+++ b/bin/ebuild-helpers/prepalldocs
@@ -4,6 +4,11 @@
source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
+if ! hasq "${EAPI}" 0 1 2 3; then
+ eqawarn "QA Notice: Deprecated call to 'prepalldocs'"
+ exit 0
+fi
+
if [[ -n $1 ]] ; then
vecho "${0##*/}: invalid usage; takes no arguments" 1>&2
fi