mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-11 16:32:59 +00:00
simplify help command in makefile (#433)
force curl timeout (useful for firewalled environments) Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
@@ -41,8 +41,8 @@ COMPONENT = $(shell echo $(component) | tr a-z A-Z)
|
||||
default: help
|
||||
|
||||
.PHONY: help
|
||||
help:
|
||||
@eval $$(sed -r -n 's/^([a-zA-Z0-9_-]+):.*?## (.*)$$/printf "\\033[36m%-30s\\033[0m %s\\n" "\1" "\2" ;/; ta; b; :a p' $(MAKEFILE_LIST) | sort)
|
||||
help: ## Show this help
|
||||
@egrep -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
|
||||
|
||||
.PHONY: build-all
|
||||
all: build-all
|
||||
|
||||
Reference in New Issue
Block a user