mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
app-text/mdbook: Use new cargo_target_dir helper
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
@@ -269,7 +269,7 @@ src_compile() {
|
||||
if tc-is-cross-compiler; then
|
||||
ewarn "html docs were skipped due to cross-compilation"
|
||||
else
|
||||
target/$(usex debug{,} release)/${PN} build -d html guide || die
|
||||
"$(cargo_target_dir)"/${PN} build -d html guide || die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -280,7 +280,7 @@ src_compile() {
|
||||
if tc-is-cross-compiler; then
|
||||
ewarn "html docs were skipped due to cross-compilation"
|
||||
else
|
||||
target/$(usex debug{,} release)/${PN} build -d html guide || die
|
||||
"$(cargo_target_dir)"/${PN} build -d html guide || die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user