From a1a3a363ddbb39bb3d4758f18d8084883e01570d Mon Sep 17 00:00:00 2001 From: Jan Christoph Ebersbach Date: Fri, 16 Dec 2022 08:23:22 +0100 Subject: [PATCH] fix(make): improve help output and solve warnings (#1269) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0fea007a8..18e808bfc 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ BOOK_VERSION ?= master .DEFAULT: help help: - @fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##/\n\t/' + @grep -E -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' buildx/kanidmd/x86_64_v3: ## build multiarch server images buildx/kanidmd/x86_64_v3: