commit: 825f85e9555a52f5c841de0e7071f721f1a6651f Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net> AuthorDate: Thu Aug 31 09:59:49 2023 +0000 Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net> CommitDate: Sat Sep 2 19:46:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=825f85e9
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 <AT> posteo.net> dev-games/liblcf/liblcf-0.8.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-games/liblcf/liblcf-0.8.ebuild b/dev-games/liblcf/liblcf-0.8.ebuild index 9d2f6afc46..0a147ba751 100644 --- a/dev-games/liblcf/liblcf-0.8.ebuild +++ b/dev-games/liblcf/liblcf-0.8.ebuild @@ -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 +}