Skip to content

Commit 8f6e720

Browse files
authored
GNUmakefile: Don't install part of hashsum if we excluded hashsum (#9036)
* Clear HASHSUM_PROGS * Drop wrong endif * Fix cspell * Flip wrong ifeq
1 parent a00d347 commit 8f6e720

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/CICD.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ jobs:
290290
mv -T target target.cache
291291
fi
292292
# Check that we don't cross-build uudoc
293+
# also do not try to generate manpages for part of hashsum
293294
make install-manpages PREFIX=/tmp/usr UTILS=true RUSTC_ARCH="--target aarch64-unknown-linux-gnu"
294295
# build (host)
295296
make build

GNUmakefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,9 @@ ifneq ($(OS),Windows_NT)
230230
endif
231231

232232
UTILS ?= $(filter-out $(SKIP_UTILS),$(PROGS))
233+
ifneq ($(filter hashsum,$(UTILS)),hashsum)
234+
HASHSUM_PROGS :=
235+
endif
233236

234237
ifneq ($(findstring stdbuf,$(UTILS)),)
235238
# Use external libstdbuf per default. It is more robust than embedding libstdbuf.

0 commit comments

Comments
 (0)