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