From: Debian LibreOffice Maintainers Date: Sun, 22 Feb 2026 09:41:41 +0000 (+0100) Subject: rust-uno-DEB_CARGO_CRATE X-Git-Tag: archive/raspbian/4%26.2.2.2-3+rpi1^2^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=29e070b40b994def8b9f0c42c4007153995bb2c7;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: