Corrected typo in description for self-documented Makefile snippet

This commit is contained in:
Mathew Attlee 2016-05-23 12:16:36 +01:00
parent 5aed7e10cb
commit 30fd9083db

View File

@ -43,7 +43,7 @@ snippet el
# .DEFAULT_GOAL := target # .DEFAULT_GOAL := target
snippet default snippet default
.DEFAULT_GOAL := ${1} .DEFAULT_GOAL := ${1}
# help target for self-documentated Makefile # help target for self-documented Makefile
snippet help snippet help
help: ## Prints help for targets with comments help: ## Prints help for targets with comments
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $\$1, $\$2}' @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $\$1, $\$2}'