mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/jaraco-packaging: fix possible bug in docs building
Fix by Louis Sautier. Closes: https://bugs.gentoo.org/641248 Package-Manager: Portage-2.3.19_p1, Repoman-2.3.6_p35
This commit is contained in:
@@ -35,8 +35,9 @@ S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
sphinx-build docs html || die "docs failed to build"
|
||||
HTML_DOCS=( html/. )
|
||||
cd docs || die
|
||||
sphinx-build . _build/html || die
|
||||
HTML_DOCS=( docs/_build/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user