dev-games/liblcf: fix html doc install logic

A non-existent or empty directory doc with HTML_DOCS="doc/*" causes
einstalldocs to die.

Closes: https://bugs.gentoo.org/913357
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer 2023-08-31 11:59:49 +02:00
parent 13ccaf9d42
commit 825f85e955
No known key found for this signature in database
GPG Key ID: 5568A2DDA60CA297

View File

@ -22,8 +22,6 @@ RDEPEND="
DEPEND="${RDEPEND}"
BDEPEND="doc? ( app-doc/doxygen[dot] )"
HTML_DOCS="doc/*"
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=True
@ -42,3 +40,11 @@ src_compile() {
src_test() {
cmake_build check
}
src_install() {
cmake_src_install
if use doc; then
docinto /usr/share/doc/${PF}/html
dodoc -r doc/*
fi
}