Skip to content

Commit

Permalink
chore(build): Fix included Makefile to run even on BSD without .ONESHELL
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Dec 6, 2023
1 parent 1e5773c commit 3e4e8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-aux/rust_boilerplate.mk.in
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ $(_RUST_OUT) $(CARGO_BIN): $(@PACKAGE_VAR@_SOURCES) $(EXTRA_@PACKAGE_VAR@_SOURCE
set -e
export AUTOTOOLS_DEPENDENCIES="$^"
$(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) |
$(CARGO_ENV) $(CARGO) build --quiet --message-format=json $(CARGO_FEATURE_ARGS) $(CARGO_RELEASE_ARGS) | \
$(JQ) -sr 'map(select(.reason == "build-script-executed")) | last | .out_dir' > $(_RUST_OUT)

RUST_DEVELOPER_TARGETS = cargo-test clippy rustfmt
Expand Down

0 comments on commit 3e4e8c6

Please sign in to comment.