From 94cae4d90a900be26cc13732bbc8c41cb2c47f20 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Tue, 7 Apr 2020 09:27:24 +0200 Subject: [PATCH] eclass/docs: one more bug fix Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- eclass/docs.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/docs.eclass b/eclass/docs.eclass index 6e4ceea12a..c3fb6e366a 100644 --- a/eclass/docs.eclass +++ b/eclass/docs.eclass @@ -186,7 +186,7 @@ sphinx_compile() { if grep -F -q 'sphinx.ext.autodoc' "${confpy}"; then die "${FUNCNAME}: autodoc disabled but sphinx.ext.autodoc found in ${confpy}" fi - elif [[ -z ${DOCDEPEND[@]} ]]; then + elif [[ ${AUTODOC} == 1 ]]; then if ! grep -F -q 'sphinx.ext.autodoc' "${confpy}"; then die "${FUNCNAME}: sphinx.ext.autodoc not found in ${confpy}, set AUTODOC=0" fi