Rename make target `show-help` to `help` (#123)

* rename make target `show-help` to show_help

* rename show_help to help
This commit is contained in:
Ikuo Suyama 2018-06-21 00:04:11 +09:00 committed by Peter Bull
parent 7ccfe5b003
commit 752ddc7868
1 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ test_environment:
# Self Documenting Commands #
#################################################################################
.DEFAULT_GOAL := show-help
.DEFAULT_GOAL := help
# Inspired by <http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html>
# sed script explained:
@ -103,8 +103,8 @@ test_environment:
# * print line
# Separate expressions are necessary because labels cannot be delimited by
# semicolon; see <http://stackoverflow.com/a/11799865/1968>
.PHONY: show-help
show-help:
.PHONY: help
help:
@echo "$$(tput bold)Available rules:$$(tput sgr0)"
@echo
@sed -n -e "/^## / { \