From 8f6e7201fac45d550bcb1714b533219574135185 Mon Sep 17 00:00:00 2001 From: E <79379754+oech3@users.noreply.github.com> Date: Mon, 27 Oct 2025 01:23:44 +0900 Subject: [PATCH] GNUmakefile: Don't install part of hashsum if we excluded hashsum (#9036) * Clear HASHSUM_PROGS * Drop wrong endif * Fix cspell * Flip wrong ifeq --- .github/workflows/CICD.yml | 1 + GNUmakefile | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 20517fd63..6bea15b67 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -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 diff --git a/GNUmakefile b/GNUmakefile index 91d9e7385..3ff2f7b12 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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.