dev-lua/lua_cliargs: QA: improve doc handling

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
Georgy Yakovlev
2020-03-15 17:01:31 -07:00
parent 303d244caf
commit 0f18bb03c3

View File

@@ -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
}