GNUmakefile: Don't install part of hashsum if we excluded hashsum (#9036)

* Clear HASHSUM_PROGS

* Drop wrong endif

* Fix cspell

* Flip wrong ifeq
This commit is contained in:
E
2025-10-26 17:23:44 +01:00
committed by GitHub
parent a00d3478e3
commit 8f6e7201fa
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -290,6 +290,7 @@ jobs:
mv -T target target.cache
fi
# Check that we don't cross-build uudoc
# also do not try to generate manpages for part of hashsum
make install-manpages PREFIX=/tmp/usr UTILS=true RUSTC_ARCH="--target aarch64-unknown-linux-gnu"
# build (host)
make build
+3
View File
@@ -230,6 +230,9 @@ ifneq ($(OS),Windows_NT)
endif
UTILS ?= $(filter-out $(SKIP_UTILS),$(PROGS))
ifneq ($(filter hashsum,$(UTILS)),hashsum)
HASHSUM_PROGS :=
endif
ifneq ($(findstring stdbuf,$(UTILS)),)
# Use external libstdbuf per default. It is more robust than embedding libstdbuf.