diff options
author | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2020-04-07 09:27:24 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2020-04-07 09:27:24 +0200 |
commit | 94cae4d90a900be26cc13732bbc8c41cb2c47f20 (patch) | |
tree | bc774376719b0074043640eac7b5ed491c5efbd4 /eclass | |
parent | eclass/docs: many fixes, should work now (diff) | |
download | guru-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.eclass | 2 |
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 |