From a72ab1ef2b064157365f39170bb45b0cd1d111d5 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Fri, 14 Jun 2024 10:46:02 +0100 Subject: [PATCH] app-text/mdbook: Use new cargo_target_dir helper Signed-off-by: James Le Cuirot --- app-text/mdbook/mdbook-0.4.37.ebuild | 2 +- app-text/mdbook/mdbook-0.4.40.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-text/mdbook/mdbook-0.4.37.ebuild b/app-text/mdbook/mdbook-0.4.37.ebuild index 2b512da75f1f3..2e29e312d40c4 100644 --- a/app-text/mdbook/mdbook-0.4.37.ebuild +++ b/app-text/mdbook/mdbook-0.4.37.ebuild @@ -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 } diff --git a/app-text/mdbook/mdbook-0.4.40.ebuild b/app-text/mdbook/mdbook-0.4.40.ebuild index e5e76b2f6ed64..5adbdeee6234e 100644 --- a/app-text/mdbook/mdbook-0.4.40.ebuild +++ b/app-text/mdbook/mdbook-0.4.40.ebuild @@ -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 }