diff options
Diffstat (limited to 'dev-util/pkgdev/pkgdev-9999.ebuild')
| -rw-r--r-- | dev-util/pkgdev/pkgdev-9999.ebuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/dev-util/pkgdev/pkgdev-9999.ebuild b/dev-util/pkgdev/pkgdev-9999.ebuild index 26b230879cfd..cffe665a8549 100644 --- a/dev-util/pkgdev/pkgdev-9999.ebuild +++ b/dev-util/pkgdev/pkgdev-9999.ebuild @@ -44,21 +44,18 @@ RDEPEND+="dev-vcs/git" distutils_enable_sphinx doc distutils_enable_tests setup.py -python_install_all() { +python_compile_all() { # We'll generate man pages ourselves # Revisit when a release is made # to pregenerate them, making USE=doc # for generating the real HTML docs only. - if use doc ; then - cd doc || die - emake man - doman _build/man/* - fi - - cd .. || die + use doc && emake -C doc man # HTML pages only sphinx_compile_all +} +python_install_all() { + use doc && doman doc/_build/man/* distutils-r1_python_install_all } |
