app-text/mdbook: Use new cargo_target_dir helper

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
James Le Cuirot
2024-06-14 10:46:02 +01:00
parent c857fecf10
commit a72ab1ef2b
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}

View File

@@ -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
}