From c1d8a8d06c78f501af5e85f70d23cade7c601a20 Mon Sep 17 00:00:00 2001 From: Christian Schlotter Date: Thu, 21 Apr 2022 19:46:44 +0200 Subject: [PATCH] Makefile: re-enable hack/tools on make help * Fixes regression for make help introduced in #5741 Signed-off-by: Christian Schlotter --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d4f625e18f52..3a926e610324 100644 --- a/Makefile +++ b/Makefile @@ -168,7 +168,7 @@ LDFLAGS := $(shell hack/version.sh) all: test managers clusterctl help: # Display this help - @awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m\033[0m\n\nTargets:\n"} /^[0-9A-Za-z_-]+:.*?##/ { printf " \033[36m%-45s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST) + @awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m\033[0m\n\nTargets:\n"} /^[0-9A-Za-z_-]+:.*?##/ { printf " \033[36m%-45s\033[0m %s\n", $$1, $$2 } /^\$$\([0-9A-Za-z_-]+\):.*?##/ { gsub("_","-", $$1); printf " \033[36m%-45s\033[0m %s\n", tolower(substr($$1, 3, length($$1)-7)), $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST) ## -------------------------------------- ## Generate / Manifests