commit:     4fc019986a8f264b880832775e01e80b0a1df376
Author:     soredake <fdsfgs <AT> krutt <DOT> org>
AuthorDate: Sun Aug 20 16:35:49 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep  2 18:45:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fc01998

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

Closes: https://github.com/gentoo/gentoo/pull/5489

 net-misc/streamlink/streamlink-9999.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-misc/streamlink/streamlink-9999.ebuild 
b/net-misc/streamlink/streamlink-9999.ebuild
index 5adb60f7ff3..4a297db743e 100644
--- a/net-misc/streamlink/streamlink-9999.ebuild
+++ b/net-misc/streamlink/streamlink-9999.ebuild
@@ -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
 }

Reply via email to