Willem Cazander
66693d9cbc
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -11s
133 lines
6.9 KiB
Makefile
133 lines
6.9 KiB
Makefile
|
||
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)
|
||
|
||
@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)
|
||
|
||
@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)
|
||
|
||
@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)
|
||
|
||
@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)
|
||
|
||
@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)
|
||
|
||
@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)
|
||
|
||
@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)
|
||
|
||
|
||
@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)
|
||
|
||
@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)
|
||
|
||
@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)
|
||
|
||
@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)
|
||
|
||
@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)@echo -e $$(MB_DOC_FIRE_VARIABLE)
|
||
$(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)@echo -e $$(MB_DOC_FIRE_VARIABLE_ROCK)
|
||
$(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)@echo -e $$(MB_DOC_FIRE_VARIABLE_I18N)
|
||
$(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)@echo -e $$(MB_DOC_FIRE_FUNCTION_DEEP)
|
||
$(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)@echo -e $$(MB_DOC_FIRE_TARGET)
|
||
$(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)@echo -e $$(MB_DOC_FIRE_TARGET_RUN)
|
||
$(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)
|
||
|
||
@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 $$(MB_DOC_FIRE_VARIABLE)
|
||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_DEEP)
|
||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_ROCK)
|
||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_FLOW)
|
||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_I18N)
|
||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_FUNCTION)
|
||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_FUNCTION_DEEP)
|
||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_FUNCTION_FLOW)
|
||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET)
|
||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_DEEP)
|
||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_RUN)
|
||
$(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)
|
||
|
||
.RECIPEPREFIX := $(MB_@RECIPEPREFIX)
|
||
endef
|
||
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.")
|
||
|