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 <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2023-02-15 14:22:58 -05:00
parent 88d5f83e51
commit 081781786d
+1 -2
View File
@@ -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
}