net-misc/streamlink: build and install man when +doc in live version
authorsoredake <fdsfgs@krutt.org>
Sun, 20 Aug 2017 16:35:49 +0000 (19:35 +0300)
committerMichał Górny <mgorny@gentoo.org>
Sat, 2 Sep 2017 18:45:01 +0000 (20:45 +0200)
Closes: https://github.com/gentoo/gentoo/pull/5489

net-misc/streamlink/streamlink-9999.ebuild

index 5adb60f7ff3c4541099e6f71526eb3856b59cbd6..4a297db743e53e1fd3c3c0795d7abf4e5a4fc12f 100644 (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
 }