net-misc/streamlink: build and install man when +doc in live version

Closes: https://github.com/gentoo/gentoo/pull/5489
This commit is contained in:
soredake
2017-08-20 19:35:49 +03:00
committed by Michał Górny
parent b68d178524
commit 4fc019986a

View File

@@ -38,7 +38,7 @@ python_configure_all() {
}
python_compile_all() {
use doc && emake -C docs html
use doc && emake -C docs html man
}
python_test() {
@@ -46,6 +46,9 @@ python_test() {
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
if use doc; then
local HTML_DOCS=( docs/_build/html/. )
doman docs/_build/man/*
fi
distutils-r1_python_install_all
}