mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-18 15:28:58 -04:00
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:
parent
13ccaf9d42
commit
825f85e955
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user