From 081781786df36f0d477db6ffd2cea82f7d2d3e02 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Wed, 15 Feb 2023 13:16:18 -0500 Subject: [PATCH] app-text/mdbook: explicitly re-check USE=doc logic in src_install The -e test was simple, but never quite liked it given tests like these can fail to pickup that nothing was created when it should. Signed-off-by: Ionen Wolkens --- app-text/mdbook/mdbook-0.4.27.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app-text/mdbook/mdbook-0.4.27.ebuild b/app-text/mdbook/mdbook-0.4.27.ebuild index 530bfc7a5bd01..fdf2231ecf93e 100644 --- a/app-text/mdbook/mdbook-0.4.27.ebuild +++ b/app-text/mdbook/mdbook-0.4.27.ebuild @@ -258,6 +258,5 @@ src_install() { cargo_src_install dodoc CHANGELOG.md README.md - - [[ -e guide/html ]] && dodoc -r guide/html + use doc && ! tc-is-cross-compiler && dodoc -r guide/html }