forked from TrueCloudLab/frostfs-node
Evgenii Stratonikov
d9fe63ee03
We use no space before the colon, but we use it when declaring a variable. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
11 lines
315 B
Makefile
11 lines
315 B
Makefile
.PHONY: help
|
|
|
|
# Show this help prompt
|
|
help:
|
|
@echo ' Usage:'
|
|
@echo ''
|
|
@echo ' make <target>'
|
|
@echo ''
|
|
@echo ' Targets:'
|
|
@echo ''
|
|
@awk '/^#/{ comment = substr($$0,3) } comment && /^[a-zA-Z][a-zA-Z0-9_-]+:/{ print " ", $$1, comment }' $(MAKEFILE_LIST) | column -t -s ':' | grep -v 'IGNORE' | sort | uniq
|