From: Debian LibreOffice Maintainers Date: Sun, 26 Apr 2026 14:18:32 +0000 (+0200) Subject: rust-uno-DEB_CARGO_CRATE X-Git-Tag: archive/raspbian/4%26.2.3.2-2+rpi1^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d582ba3f1d0333ca60188446989a12bc1d96a6c8;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: