From: Debian LibreOffice Maintainers Date: Wed, 25 Mar 2026 20:39:29 +0000 (+0100) Subject: rust-uno-DEB_CARGO_CRATE X-Git-Tag: archive/raspbian/4%26.2.2.2-3+rpi1^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=405e875e32258e0cb0c00d9854c6b27a58a7ee1f;p=libreoffice.git rust-uno-DEB_CARGO_CRATE Gbp-Pq: Name rust-uno-DEB_CARGO_CRATE.diff --- diff --git a/rust_uno/CustomTarget_cargo.mk b/rust_uno/CustomTarget_cargo.mk index c7f56870f41..5f933906b01 100644 --- a/rust_uno/CustomTarget_cargo.mk +++ b/rust_uno/CustomTarget_cargo.mk @@ -13,7 +13,7 @@ $(eval $(call gb_CustomTarget_CustomTarget,rust_uno/cargo)) $(call gb_CustomTarget_get_target,rust_uno/cargo): \ $(call gb_Library_get_target,rust_uno-cpp) \ $(gb_CustomTarget_workdir)/rust_uno/rustmaker/cpp - cd $(SRCDIR)/rust_uno && cargo build $(if $(verbose),--verbose,) --release + cd $(SRCDIR)/rust_uno && export DEB_CARGO_CRATE=rust-uno_$(shell grep version rust_uno/Cargo.toml | awk '{ print $$3 }' | sed -e s/\"//g); cargo build $(if $(verbose),--verbose,) --release #TODO: Add to the general pattern rule from solenv/gbuild/CustomTarget.mk, instead of having to # repeat its recipe here: