a magic spell… 😟 1 .DEFAULT: help 2 .PHONY: help generate 3 help: 4 @echo "Usage: make <task> [OPTION1=VAR1] [...]" 5 @echo -e "\nAvailable tasks:" 6 @grep -hE '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-18s\033[0m %s\n", $$1, $$2}' → 7 @echo -e "\nOptions:" 8 @grep -A1 -hE '^##.+' $(MAKEFILE_LIST) | grep -v '^--' | perl -pe 's/^##\s*(.+)\n/\1##\t/g' | awk 'BEGIN {FS = "(:?=[ \t]*|##\t)"}; {printf " \033[36m%-18s\033[0m %s\n%-20s (default: %s)\n", $$2, $$1," ",$$3}' → → 9 10 generate: $(RESULT_FILE) ## Generate the translation. 8