aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-04-07 09:27:24 +0200
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-04-07 09:27:24 +0200
commit94cae4d90a900be26cc13732bbc8c41cb2c47f20 (patch)
treebc774376719b0074043640eac7b5ed491c5efbd4 /eclass
parenteclass/docs: many fixes, should work now (diff)
downloadguru-94cae4d90a900be26cc13732bbc8c41cb2c47f20.tar.gz
guru-94cae4d90a900be26cc13732bbc8c41cb2c47f20.tar.bz2
guru-94cae4d90a900be26cc13732bbc8c41cb2c47f20.zip
eclass/docs: one more bug fix
Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/docs.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/docs.eclass b/eclass/docs.eclass
index 6e4ceea12..c3fb6e366 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