dev-python/jaraco-packaging: fix possible bug in docs building
authorMike Gilbert <floppym@gentoo.org>
Sat, 16 Dec 2017 21:56:34 +0000 (16:56 -0500)
committerMike Gilbert <floppym@gentoo.org>
Sat, 16 Dec 2017 21:56:34 +0000 (16:56 -0500)
Fix by Louis Sautier.

Closes: https://bugs.gentoo.org/641248
Package-Manager: Portage-2.3.19_p1, Repoman-2.3.6_p35

dev-python/jaraco-packaging/jaraco-packaging-4.1.ebuild

index f9135cf1a8f33b725e93d82ff6c71fefac5edcc7..8b47400689a7f1f6c4322b002e49571a276ecc66 100644 (file)
@@ -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
 }