dev-python/sphinx: fix doc install
authorTim Harder <radhermit@gentoo.org>
Fri, 22 Jun 2018 19:32:06 +0000 (15:32 -0400)
committerTim Harder <radhermit@gentoo.org>
Fri, 22 Jun 2018 19:33:07 +0000 (15:33 -0400)
Closes: https://bugs.gentoo.org/658720

dev-python/sphinx/sphinx-1.7.5.ebuild

index 328f321d829652d57cfe5980f14d59b8ab4baad5..e9a69465dfe36ff4bc4942e958fd22d0f92f3927 100644 (file)
@@ -82,8 +82,8 @@ python_compile() {
 
 python_compile_all() {
        if use doc; then
-               emake -C doc SPHINXBUILD='"${EPYTHON}" "${S}/sphinx-build.py"' html
-               HTML_DOCS=( doc/_build/html/. )
+               esetup.py build_sphinx
+               HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
        fi
 }