Added optional project name to help system.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 0s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 0s
This commit is contained in:
parent
f36aae1917
commit
00ae20a61e
2
Makefile
2
Makefile
|
@ -14,6 +14,6 @@ PATH_BIN := bin
|
|||
PATH_SRC := src
|
||||
PATH_MSXBUILD ?= .
|
||||
include $(PATH_MSXBUILD)/lib/make/msxbuild.mk
|
||||
$(eval $(call mb_make_call,mb_doc_flow_help))
|
||||
$(eval $(call mb_make_call,mb_doc_flow_help,MSXBUILD-Example))
|
||||
$(eval $(call mb_make_call,mb_make_flow_0module,$(PATH_SRC)))
|
||||
|
||||
|
|
|
@ -117,7 +117,7 @@ MB_DOC_FIRE_FUNCTION_DEEP += $(call mb_make_call,mb_doc_function_deep,mb_doc_tar
|
|||
|
||||
define mb_doc_flow_help
|
||||
@help:
|
||||
$$(if $$(filter txt,$$(MB_DOC_FORMAT)),@echo "Welcome to the MSXBUILD help system.\\n\\nFor detailed fire help use one of the following targets;\\n")
|
||||
$$(if $$(filter txt,$$(MB_DOC_FORMAT)),@echo "Welcome to the $$(if $(1),$(1),MSXBUILD) help system.\\n\\nFor detailed fire help use one of the following targets;\\n")
|
||||
$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_xml_open,$$(MB_DOC_XML_ROOT)))
|
||||
@echo $$(MB_DOC_FIRE_HELP)
|
||||
$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_xml_close,$$(MB_DOC_XML_ROOT)))
|
||||
|
@ -231,6 +231,6 @@ MB_DOC_FIRE_HELP += $$(call mb_make_call,mb_doc_target_help,@help-target-deep,"L
|
|||
.PHONY: @help-all
|
||||
MB_DOC_FIRE_HELP += $$(call mb_make_call,mb_doc_target_help,@help-all,"Lists all documented information.")
|
||||
endef
|
||||
MB_DOC_FIRE_FUNCTION_FLOW += $(call mb_make_call,mb_doc_function_flow,mb_doc_flow_help,"Prints flow of fire help target.")
|
||||
MB_DOC_FIRE_FUNCTION_FLOW += $(call mb_make_call,mb_doc_function_flow,mb_doc_flow_help,"Prints flow of fire help target.","[project-name]")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue