Skip to content

Commit 43ce7d4

Browse files
authored
Filter build script output by package ID 'fontship'
the last entry for me was git-warp-time and I got this error: ```install: cannot stat '/home/roland/.local/var/cache/yay/fontship/src/fontship-0.10.1/./target/release/build/git-warp-time-8e777c613bd32b13/out/completions/fontship.bash': No such file or directory```. Therefore I think selecting package_id is necessary.
1 parent 6a6c3c3 commit 43ce7d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎build-aux/que_rust_boilerplate.am‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ $(_RUST_OUT) $(CARGO_BIN): $(@PACKAGE_VAR@_SOURCES) $(EXTRA_@PACKAGE_VAR@_SOURCE
5959
export AUTOTOOLS_DEPENDENCIES="$^"
6060
$(CARGO_ENV) $(CARGO) build $(CARGO_VERBOSE) $(CARGO_FEATURE_ARGS) $(CARGO_RELEASE_ARGS)
6161
$(CARGO_ENV) $(CARGO) build --quiet --message-format=json $(CARGO_FEATURE_ARGS) $(CARGO_RELEASE_ARGS) | \
62-
$(JQ) -sr 'map(select(.reason == "build-script-executed")) | last | .out_dir' > $(_RUST_OUT)
62+
$(JQ) -sr 'map(select(.reason == "build-script-executed" and (.package_id|contains("fontship")))) | last | .out_dir' > $(_RUST_OUT)
6363

6464
RUST_DEVELOPER_TARGETS = cargo-test clippy rustfmt
6565
.PHONY: $(RUST_DEVELOPER_TARGETS)

0 commit comments

Comments
 (0)