frostfs-aio/help.mk
Artem Tataurov b9b81e3e7e Initial commit
Signed-off-by: Artem Tataurov <a.tataurov@yadro.com>
2023-05-15 14:22:33 +03:00

11 lines
316 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 -u