commit: 0f18bb03c39e485ed6a9a3e508cd8fc97d5662f2
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 00:01:31 2020 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 00:01:57 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f18bb03
dev-lua/lua_cliargs: QA: improve doc handling
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-lua/lua_cliargs/lua_cliargs-3.0_p2.ebuild | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/dev-lua/lua_cliargs/lua_cliargs-3.0_p2.ebuild
b/dev-lua/lua_cliargs/lua_cliargs-3.0_p2.ebuild
index e70979dafba..b124dace5b7 100644
--- a/dev-lua/lua_cliargs/lua_cliargs-3.0_p2.ebuild
+++ b/dev-lua/lua_cliargs/lua_cliargs-3.0_p2.ebuild
@@ -29,11 +29,10 @@ src_install() {
insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
doins -r src/cliargs.lua src/cliargs
- einstalldocs
-
if use doc; then
+ local HTML_DOCS=( doc/. )
dodoc -r examples
- docinto html
- dodoc -r doc/*
fi
+
+ einstalldocs
}