From 8825b5b55acb119485ef3e980826fc6f61d1f72a Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Mon, 30 Oct 2023 15:50:10 +0300 Subject: [PATCH] chore(build): Correct Rust dependency calculations in make target --- build-aux/rust_boilerplate.mk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-aux/rust_boilerplate.mk.in b/build-aux/rust_boilerplate.mk.in index a8d39cb4b..77524437e 100644 --- a/build-aux/rust_boilerplate.mk.in +++ b/build-aux/rust_boilerplate.mk.in @@ -52,7 +52,7 @@ $(COMPLETIONS_OUT_DIR)/_$(TRANSFORMED_PACKAGE_NAME).ps1: $(CARGO_BIN) | $(COMPLE $(COMPLETIONS_OUT_DIR)/_$(TRANSFORMED_PACKAGE_NAME): $(CARGO_BIN) | $(COMPLETIONS_OUT_DIR) $(INSTALL) -m755 $$(cat $(_RUST_OUT))/$(COMPLETIONS_OUT_DIR)/_$(PACKAGE_NAME) $@ -$(_RUST_OUT) $(CARGO_BIN): $(sile_SOURCES) $(EXTRA_sile_SOURCES) +$(_RUST_OUT) $(CARGO_BIN): $(@PACKAGE_VAR@_SOURCES) $(EXTRA_@PACKAGE_VAR@_SOURCES) cd $(top_srcdir) $(CARGO_ENV) $(CARGO) build $(CARGO_VERBOSE) $(CARGO_FEATURE_ARGS) $(CARGO_RELEASE_ARGS) $(CARGO_ENV) $(CARGO) build --quiet --message-format=json $(CARGO_FEATURE_ARGS) $(CARGO_RELEASE_ARGS) |