dev-libs/cdk: skip non-exist directory for dodoc

Closes: https://bugs.gentoo.org/955827
Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42040
Closes: https://github.com/gentoo/gentoo/pull/42040
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Z. Liu 2025-05-11 18:39:00 +08:00 committed by Sam James
parent e34418b72b
commit 04b2ee6ce3
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
5 changed files with 5 additions and 0 deletions

View File

@ -55,6 +55,7 @@ src_install() {
if use examples ; then
local x
for x in include c++ demos examples cli cli/utils cli/samples ; do
[[ -d ${x} ]] || continue
docinto ${x}
find ${x} -maxdepth 1 -mindepth 1 -type f -print0 | xargs -0 dodoc || die
done

View File

@ -50,6 +50,7 @@ src_install() {
if use examples ; then
local x
for x in include c++ demos examples cli cli/utils cli/samples ; do
[[ -d ${x} ]] || continue
docinto ${x}
find ${x} -maxdepth 1 -mindepth 1 -type f -print0 | xargs -0 dodoc || die
done

View File

@ -55,6 +55,7 @@ src_install() {
if use examples ; then
local x
for x in include c++ demos examples cli cli/utils cli/samples ; do
[[ -d ${x} ]] || continue
docinto ${x}
find ${x} -maxdepth 1 -mindepth 1 -type f -print0 | xargs -0 dodoc || die
done

View File

@ -61,6 +61,7 @@ src_install() {
if use examples ; then
local x
for x in include c++ demos examples cli cli/utils cli/samples ; do
[[ -d ${x} ]] || continue
docinto ${x}
find ${x} -maxdepth 1 -mindepth 1 -type f -print0 | xargs -0 dodoc || die
done

View File

@ -57,6 +57,7 @@ src_install() {
if use examples ; then
local x
for x in include c++ demos examples cli cli/utils cli/samples ; do
[[ -d ${x} ]] || continue
docinto ${x}
find ${x} -maxdepth 1 -mindepth 1 -type f -print0 | xargs -0 dodoc || die
done