diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-02-15 13:16:18 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-02-15 14:22:58 -0500 |
commit | 081781786df36f0d477db6ffd2cea82f7d2d3e02 (patch) | |
tree | ddd92947fc66a5a06aba8bc03ff875b9f9005063 /app-text/mdbook | |
parent | dev-vcs/git: Stabilize 2.39.2 hppa, #894476 (diff) | |
download | gentoo-081781786df36f0d477db6ffd2cea82f7d2d3e02.tar.gz gentoo-081781786df36f0d477db6ffd2cea82f7d2d3e02.tar.bz2 gentoo-081781786df36f0d477db6ffd2cea82f7d2d3e02.zip |
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>
Diffstat (limited to 'app-text/mdbook')
-rw-r--r-- | app-text/mdbook/mdbook-0.4.27.ebuild | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app-text/mdbook/mdbook-0.4.27.ebuild b/app-text/mdbook/mdbook-0.4.27.ebuild index 530bfc7a5bd0..fdf2231ecf93 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 } |