summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-01-05 07:24:44 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-01-05 10:31:41 -0500
commitd869b0a9a115978b3a1ab2ac637e2217918c7dbd (patch)
treee2cc0bcd81a10dbe60d9449d2340fabc97cfc4df
parent163e6c91c20931092f9ba60a627f9e20599e63cf (diff)
downloadpython-coveragepy-git-d869b0a9a115978b3a1ab2ac637e2217918c7dbd.tar.gz
build: one more tweak-down of the help target
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3dd86157..b8b44b77 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ sterile: clean ## Remove all non-controlled content, even if expensive.
help: ## Show this help.
@# Adapted from https://www.thapaliya.com/en/writings/well-documented-makefiles/
@echo Available targets:
- @awk 'BEGIN{FS=":.*##";} /^[^: ]+:.*##/{printf " \033[1m%-20s\033[m %s\n",$$1,$$2} /^##@/{printf "\n%s\n",substr($$0,5)}' $(MAKEFILE_LIST)
+ @awk -F ':.*##' '/^[^: ]+:.*##/{printf " \033[1m%-20s\033[m %s\n",$$1,$$2} /^##@/{printf "\n%s\n",substr($$0,5)}' $(MAKEFILE_LIST)
##@ Tests and quality checks