Converted to make style like "filter-out"
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 7s

This commit is contained in:
Willem Cazander 2024-07-16 16:45:37 +02:00
parent 0368032b98
commit 66990665fa
41 changed files with 1412 additions and 1399 deletions

View file

@ -1,136 +1,136 @@
define __mb_flow_doc_help
define __mb-flow-doc-help
.RECIPEPREFIX := $(MB_@RECIPE)
@help:
$(MB_@RECIPE)@echo -e "Welcome to the $$(if $$(MB_PROJ_META_NAME),$$(MB_PROJ_META_NAME),MSXBUILD) help system.\\n\\nFor detailed fire help use one of the following targets;"
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_HELP)
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help)
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help)
@help-variable:
$(MB_@RECIPE)@echo -e "Documention of the make fire variables;"
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE)
$(MB_   )$$(call mb_make_call,mb_doc_target_help,@help-variable,"Lists build variables.")
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help-variable)
$(MB_   )$$(call mb-make-call,mb-doc-target-help,@help-variable,"Lists build variables.")
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help-variable)
@help-variable-deep:
$(MB_@RECIPE)@echo "Documention of the deep make variables;"
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_DEEP)
$(MB_   )$$(call mb_make_call,mb_doc_target_help,@help-variable-deep,"Lists deep variables.")
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help-variable-deep)
$(MB_   )$$(call mb-make-call,mb-doc-target-help,@help-variable-deep,"Lists deep variables.")
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help-variable-deep)
@help-variable-rock:
$(MB_@RECIPE)@echo -e "Documention of the rock make variables;"
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_ROCK)
$(MB_   )$$(call mb_make_call,mb_doc_target_help,@help-variable-rock,"Lists rock variables.")
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help-variable-rock)
$(MB_   )$$(call mb-make-call,mb-doc-target-help,@help-variable-rock,"Lists rock variables.")
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help-variable-rock)
@help-variable-flow:
$(MB_@RECIPE)@echo -e "Documention of the flow make variables;"
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_FLOW)
$(MB_   )$$(call mb_make_call,mb_doc_target_help,@help-variable-flow,"Lists flow variables.")
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help-variable-flow)
$(MB_   )$$(call mb-make-call,mb-doc-target-help,@help-variable-flow,"Lists flow variables.")
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help-variable-flow)
@help-variable-i18n:
$(MB_@RECIPE)@echo -e "Documention of the i18n make variables;"
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_I18N)
$(MB_   )$$(call mb_make_call,mb_doc_target_help,@help-variable-i18n,"Lists i18n variables.")
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help-variable-i18n)
$(MB_   )$$(call mb-make-call,mb-doc-target-help,@help-variable-i18n,"Lists i18n variables.")
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help-variable-i18n)
@help-function:
$(MB_@RECIPE)@echo -e "Documention of the make fire functions;"
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_FUNCTION)
$(MB_   )$$(call mb_make_call,mb_doc_target_help,@help-function,"Lists build functions.")
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help-function)
$(MB_   )$$(call mb-make-call,mb-doc-target-help,@help-function,"Lists build functions.")
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help-function)
@help-function-deep:
$(MB_@RECIPE)@echo -e "Documention of the deep make functions;"
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_FUNCTION_DEEP)
$(MB_   )$$(call mb_make_call,mb_doc_target_help,@help-function-deep,"Lists deep functions.")
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help-function-deep)
$(MB_   )$$(call mb-make-call,mb-doc-target-help,@help-function-deep,"Lists deep functions.")
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help-function-deep)
@help-function-flow:
$(MB_@RECIPE)@echo -e "Documention of the flow make functions;"
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_FUNCTION_FLOW)
$(MB_   )$$(call mb_make_call,mb_doc_target_help,@help-function-flow,"Lists flow functions.")
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help-function-flow)
$(MB_   )$$(call mb-make-call,mb-doc-target-help,@help-function-flow,"Lists flow functions.")
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help-function-flow)
@help-target:
$(MB_@RECIPE)@echo -e "Build one of the following make fire targets;"
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET)
$(MB_   )$$(call mb_make_call,mb_doc_target_help,@help-target,"Lists build targets.")
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help-target)
$(MB_   )$$(call mb-make-call,mb-doc-target-help,@help-target,"Lists build targets.")
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help-target)
@help-target-deep:
$(MB_@RECIPE)@echo -e "Build one of the following deep make targets;"
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_DEEP)
$(MB_   )$$(call mb_make_call,mb_doc_target_help,@help-target-deep,"Lists deep targets.")
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help-target-deep)
$(MB_   )$$(call mb-make-call,mb-doc-target-help,@help-target-deep,"Lists deep targets.")
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help-target-deep)
@help-target-run:
$(MB_@RECIPE)@echo -e "Build one of the following run make targets;"
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_RUN)
$(MB_   )$$(call mb_make_call,mb_doc_target_help,@help-target-run,"Lists runnable targets.")
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help-target-run)
$(MB_   )$$(call mb-make-call,mb-doc-target-help,@help-target-run,"Lists runnable targets.")
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help-target-run)
@help-target-module:
$(MB_@RECIPE)@echo -e "Build one of the following module make targets;"
$(MB_@RECIPE)$$(file >bin/@help.txt,$$(MB_DOC_FIRE_TARGET_MODULE))
$(MB_@RECIPE)@cat bin/@help.txt | sed 's/\\\\n/\n/g' | sed 's/\\\\t/\t/g' | sed 's/\"//g'
$(MB_   )$$(call mb_make_call,mb_doc_target_help,@help-target-module,"Lists module targets.")
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help-target-module)
$(MB_   )$$(call mb-make-call,mb-doc-target-help,@help-target-module,"Lists module targets.")
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help-target-module)
@help-target-assert:
$(MB_@RECIPE)@echo -e "Build one of the following assert make targets;"
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_ASSERT)
$(MB_   )$$(call mb_make_call,mb_doc_target_help,@help-target-assert,"Lists assert targets.")
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help-target-assert)
$(MB_   )$$(call mb-make-call,mb-doc-target-help,@help-target-assert,"Lists assert targets.")
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help-target-assert)
@help-machine:
$(MB_@RECIPE)@echo -e "Use one of the following machines to build targets;"
$(MB_@RECIPE)@echo -e "\n "$(foreach _rom,$(MB_MSXROM_FIRE_MACHINES)," * $(_rom)\n")
$(MB_   )$$(call mb_make_call,mb_doc_target_help,@help-machine,"Lists supported machines.")
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help-machine)
$(MB_   )$$(call mb-make-call,mb-doc-target-help,@help-machine,"Lists supported machines.")
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help-machine)
@help-all:
$(MB_@RECIPE)@echo -e "Documention of all fire functions/variables/targets;\\n"
$(MB_@RECIPE)$$(call mb_make_call,mb_os_echo_good,"Variables")
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-good,"Variables")
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE)
$(MB_@RECIPE)$$(call mb_make_call,mb_os_echo_good,"Variables in the deep")
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-good,"Variables in the deep")
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_DEEP)
$(MB_@RECIPE)$$(call mb_make_call,mb_os_echo_good,"Variables hard as rock")
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-good,"Variables hard as rock")
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_ROCK)
$(MB_@RECIPE)$$(call mb_make_call,mb_os_echo_good,"Variables defining flow")
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-good,"Variables defining flow")
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_FLOW)
$(MB_@RECIPE)$$(call mb_make_call,mb_os_echo_good,"Variables for i18n letters")
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-good,"Variables for i18n letters")
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_I18N)
$(MB_@RECIPE)$$(call mb_make_call,mb_os_echo_good,"Functions")
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-good,"Functions")
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_FUNCTION)
$(MB_@RECIPE)$$(call mb_make_call,mb_os_echo_good,"Functions in the deep")
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-good,"Functions in the deep")
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_FUNCTION_DEEP)
$(MB_@RECIPE)$$(call mb_make_call,mb_os_echo_good,"Functions building flow")
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-good,"Functions building flow")
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_FUNCTION_FLOW)
$(MB_@RECIPE)$$(call mb_make_call,mb_os_echo_good,"Targets")
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-good,"Targets")
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET)
$(MB_@RECIPE)$$(call mb_make_call,mb_os_echo_good,"Targets in the deep")
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-good,"Targets in the deep")
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_DEEP)
$(MB_@RECIPE)$$(call mb_make_call,mb_os_echo_good,"Targets that run away")
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-good,"Targets that run away")
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_RUN)
$(MB_@RECIPE)$$(call mb_make_call,mb_os_echo_good,"Targets from modules builds")
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-good,"Targets from modules builds")
$(MB_@RECIPE)$$(file >bin/@help.txt,$$(MB_DOC_FIRE_TARGET_MODULE))
$(MB_@RECIPE)@cat bin/@help.txt | sed 's/\\\\n/\n/g' | sed 's/\\\\t/\t/g' | sed 's/\"//g'
$(MB_@RECIPE)$$(call mb_make_call,mb_os_echo_good,"Targets that assert hopefully")
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-good,"Targets that assert hopefully")
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_ASSERT)
$(MB_@RECIPE)$$(call mb_make_call,mb_os_echo_good,"Targets main project help")
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-good,"Targets main project help")
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_HELP)
$(MB_@RECIPE)$$(call mb_make_call,mb_os_echo_good,OK)
$(MB_   )$$(call mb_make_call,mb_doc_target_help,@help-all,"Lists all documented information.")
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help-all)
$(MB_@RECIPE)$$(call mb-make-call,mb-os-echo-good,OK)
$(MB_   )$$(call mb-make-call,mb-doc-target-help,@help-all,"Lists all documented information.")
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help-all)
@help-firemake:
$(MB_@RECIPE)$$(eval MB_DOC_FORMAT :$(MB_MAKE_EQUALS) xml)
$(MB_@RECIPE)@echo -e $$(call mb_make_call,mb_make_xml_open,$$(MB_DOC_XML_ROOT))
$(MB_@RECIPE)@echo -e $$(call mb-make-call,mb-make-xml-open,$$(MB_DOC_XML_ROOT))
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE)
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_DEEP)
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_ROCK)
@ -146,14 +146,14 @@ $(MB_@RECIPE)$$(file >bin/@help.txt,$$(MB_DOC_FIRE_TARGET_MODULE))
$(MB_@RECIPE)@cat bin/@help.txt | sed 's/\\\\n/\n/g' | sed 's/\\\\t/\t/g' | sed 's/\\\"/__TMP/g' | sed 's/\"//g' | sed 's/__TMP/\"/g'
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_ASSERT)
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_HELP)
$(MB_@RECIPE)@echo -e $$(call mb_make_call,mb_make_xml_close,$$(MB_DOC_XML_ROOT))
$(MB_   )$$(call mb_make_call,mb_doc_target_help,@help-firemake,"Output all documention in XML for IDE integration.")
$(MB_   )$$(call mb_make_call,mb_make_target_phony,@help-firemake)
$(MB_@RECIPE)@echo -e $$(call mb-make-call,mb-make-xml-close,$$(MB_DOC_XML_ROOT))
$(MB_   )$$(call mb-make-call,mb-doc-target-help,@help-firemake,"Output all documention in XML for IDE integration.")
$(MB_   )$$(call mb-make-call,mb-make-target-phony,@help-firemake)
.RECIPEPREFIX := $(MB_@RECIPEPREFIX)
endef
define mb_flow_doc_help
$(MB_   )$(eval $(call mb_make_call,__$(0),$(1)))
define mb-flow-doc-help
$(MB_   )$(eval $(call mb-make-call,__$(0),$(1)))
endef
$(call mb_make_call,mb_doc_function_flow,mb_flow_doc_help,"Inject flow of fire help system.")
$(call mb-make-call,mb-doc-function-flow,mb-flow-doc-help,"Inject flow of fire help system.")