Fixed default goal to new all target.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -11s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -11s
This commit is contained in:
parent
b67ba15457
commit
89e94e59f1
|
@ -7,7 +7,7 @@ on:
|
||||||
env:
|
env:
|
||||||
VERBOSE: off
|
VERBOSE: off
|
||||||
DEBUG: off
|
DEBUG: off
|
||||||
MB_I18N: BASIC
|
MB_I18N: iu
|
||||||
MB_OPENMSX_STDOUT_IGNORE: on
|
MB_OPENMSX_STDOUT_IGNORE: on
|
||||||
MB_OPENMSX_STDERR_IGNORE: on
|
MB_OPENMSX_STDERR_IGNORE: on
|
||||||
MB_AUTOEXEC_EMBED_USER: GITHUB_ACTOR
|
MB_AUTOEXEC_EMBED_USER: GITHUB_ACTOR
|
||||||
|
@ -19,4 +19,4 @@ jobs:
|
||||||
- name: Check out
|
- name: Check out
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Run asserts
|
- name: Run asserts
|
||||||
run: make -j1 @package-qa
|
run: make
|
||||||
|
|
9
Makefile
9
Makefile
|
@ -8,9 +8,10 @@ MB_PROJ_META_GROUP_ID ?= love.distributedrebirth.msx4.firemake.make4.msxbuild
|
||||||
MB_PROJ_META_ARTIFACT_ID ?= msxbuild
|
MB_PROJ_META_ARTIFACT_ID ?= msxbuild
|
||||||
MB_PROJ_META_VERSION ?= 1.0.0
|
MB_PROJ_META_VERSION ?= 1.0.0
|
||||||
MB_PROJ_META_NAME ?= MSXBUILD
|
MB_PROJ_META_NAME ?= MSXBUILD
|
||||||
MB_PROJ_META_DESCRIPTION ?= Utils for openMSX in build pipeline.
|
MB_PROJ_META_DESCRIPTION ?= Library to use openMSX in build pipeline.
|
||||||
MB_PROJ_META_WEBSITE ?= https://code.distributedrebirth.love/arch-msx/msxbuild
|
MB_PROJ_META_WEBSITE ?= https://code.distributedrebirth.love/arch-msx/msxbuild
|
||||||
.RECIPEPREFIX := _
|
.RECIPEPREFIX := _
|
||||||
|
.DEFAULT_GOAL := @all
|
||||||
-include Makelocal.mk
|
-include Makelocal.mk
|
||||||
include $(PATH_MSXBUILD)/lib/make/msxbuild-prolog.mk
|
include $(PATH_MSXBUILD)/lib/make/msxbuild-prolog.mk
|
||||||
include $(PATH_MSXBUILD)/lib/make/msxbuild.mk
|
include $(PATH_MSXBUILD)/lib/make/msxbuild.mk
|
||||||
|
@ -21,8 +22,8 @@ $(call mb_make_call,mb_setup_default,$(PATH_BIN),$(PATH_SRC))
|
||||||
.PHONY: Makelocal.mk
|
.PHONY: Makelocal.mk
|
||||||
.PHONY: $(PATH_MSXBUILD)/lib/make/msxbuild-prolog.mk
|
.PHONY: $(PATH_MSXBUILD)/lib/make/msxbuild-prolog.mk
|
||||||
.PHONY: $(PATH_MSXBUILD)/lib/make/msxbuild.mk
|
.PHONY: $(PATH_MSXBUILD)/lib/make/msxbuild.mk
|
||||||
Makefile: Makelocal.mk
|
Makefile:: Makelocal.mk
|
||||||
Makefile: $(PATH_MSXBUILD)/lib/make/msxbuild-prolog.mk
|
Makefile:: $(PATH_MSXBUILD)/lib/make/msxbuild-prolog.mk
|
||||||
Makefile: $(PATH_MSXBUILD)/lib/make/msxbuild.mk
|
Makefile:: $(PATH_MSXBUILD)/lib/make/msxbuild.mk
|
||||||
@@include-root:: Makefile
|
@@include-root:: Makefile
|
||||||
|
|
||||||
|
|
|
@ -39,6 +39,7 @@ $(eval $(call __mb_include,lib/make/麥加系統擴大/mb_autoexec.mk))
|
||||||
@@include-libs:: $(MB_@INCLUDE_CHAIN)
|
@@include-libs:: $(MB_@INCLUDE_CHAIN)
|
||||||
MB_@INCLUDE_CHAIN := @@include-parent
|
MB_@INCLUDE_CHAIN := @@include-parent
|
||||||
$(eval $(call __mb_include,lib/make/𓃬𓍄𓋹𓀭/mb_flow_0module.mk))
|
$(eval $(call __mb_include,lib/make/𓃬𓍄𓋹𓀭/mb_flow_0module.mk))
|
||||||
|
$(eval $(call __mb_include,lib/make/𓃬𓍄𓋹𓀭/mb_flow_help.mk))
|
||||||
$(eval $(call __mb_include,lib/make/𓃬𓍄𓋹𓀭/mb_flow_proj.mk))
|
$(eval $(call __mb_include,lib/make/𓃬𓍄𓋹𓀭/mb_flow_proj.mk))
|
||||||
$(eval $(call __mb_include,lib/make/𓃬𓍄𓋹𓀭/mb_flow_assert.mk))
|
$(eval $(call __mb_include,lib/make/𓃬𓍄𓋹𓀭/mb_flow_assert.mk))
|
||||||
$(eval $(call __mb_include,lib/make/𓃬𓍄𓋹𓀭/mb_flow_m80.mk))
|
$(eval $(call __mb_include,lib/make/𓃬𓍄𓋹𓀭/mb_flow_m80.mk))
|
||||||
|
@ -69,7 +70,7 @@ $(call mb_make_call,mb_doc_variable_rock,MB_@BASEPATH_REAL,"Resolved real path o
|
||||||
# Provider+doc easy single function start point for user
|
# Provider+doc easy single function start point for user
|
||||||
define mb_setup_default
|
define mb_setup_default
|
||||||
$(MB_ᕽᕽᕽ )$(call mb_make_call,mb_make_check_arg2,$(0),$(1),$(2))
|
$(MB_ᕽᕽᕽ )$(call mb_make_call,mb_make_check_arg2,$(0),$(1),$(2))
|
||||||
$(MB_ᕽᕽᕽ )$(call mb_make_call,mb_doc_flow_help)
|
$(MB_ᕽᕽᕽ )$(call mb_make_call,mb_flow_doc_help)
|
||||||
$(MB_ᕽᕽᕽ )$(call mb_make_call,mb_flow_0module_setup,$(2))
|
$(MB_ᕽᕽᕽ )$(call mb_make_call,mb_flow_0module_setup,$(2))
|
||||||
$(MB_ᕽᕽᕽ )$(call mb_make_call,mb_flow_proj_setup,$(1))
|
$(MB_ᕽᕽᕽ )$(call mb_make_call,mb_flow_proj_setup,$(1))
|
||||||
$(MB_ᕽᕽᕽ )$(call mb_make_call,mb_flight_proj_flow_video,$(1))
|
$(MB_ᕽᕽᕽ )$(call mb_make_call,mb_flight_proj_flow_video,$(1))
|
||||||
|
|
|
@ -53,8 +53,9 @@ MB_DOC_FIRE_VARIABLE_ROCK += $(call mb_make_call,_mb_doc_variable4u_rock,MB_DOC_
|
||||||
MB_DOC_XML_TAG_VALUE := value
|
MB_DOC_XML_TAG_VALUE := value
|
||||||
MB_DOC_FIRE_VARIABLE_ROCK += $(call mb_make_call,_mb_doc_variable4u_rock,MB_DOC_XML_TAG_VALUE,"XML value tag for firemake output.")
|
MB_DOC_FIRE_VARIABLE_ROCK += $(call mb_make_call,_mb_doc_variable4u_rock,MB_DOC_XML_TAG_VALUE,"XML value tag for firemake output.")
|
||||||
|
|
||||||
|
# rename now internal: _MB_DOC_FORMAT
|
||||||
MB_DOC_FORMAT ?= txt
|
MB_DOC_FORMAT ?= txt
|
||||||
MB_DOC_FIRE_VARIABLE_DEEP += $(call mb_make_call,_mb_doc_variable4u_deep,MB_DOC_FORMAT,"Output format of documention$(MB_MAKE_COMMA) only 'txt' or 'xml' is supported.")
|
#MB_DOC_FIRE_VARIABLE_DEEP += $(call mb_make_call,_mb_doc_variable4u_deep,MB_DOC_FORMAT,"Output format of documention$(MB_MAKE_COMMA) only 'txt' or 'xml' is supported.")
|
||||||
|
|
||||||
|
|
||||||
define _escape
|
define _escape
|
||||||
|
@ -149,149 +150,3 @@ $(MB_ᕽᕽᕽ )$(eval MB_DOC_FIRE_TARGET_RUN += $$(call mb_make_call,_m
|
||||||
endef
|
endef
|
||||||
MB_DOC_FIRE_FUNCTION_DEEP += $(call mb_make_call,_mb_doc_function4u_deep,mb_doc_target_run,"Saves formatted documention of an run target.","<name> [desc]")
|
MB_DOC_FIRE_FUNCTION_DEEP += $(call mb_make_call,_mb_doc_function4u_deep,mb_doc_target_run,"Saves formatted documention of an run target.","<name> [desc]")
|
||||||
|
|
||||||
|
|
||||||
define __mb_doc_flow_help
|
|
||||||
.RECIPEPREFIX := $(MB_@RECIPE)
|
|
||||||
|
|
||||||
@help:
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),@echo -e "Welcome to the $$(if $(1),$(1),MSXBUILD) help system.\\n\\nFor detailed fire help use one of the following targets;")
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo -e $$(call mb_make_xml_open,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_HELP)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo -e $$(call mb_make_xml_close,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(MB_ᕽᕽᕽ )$$(call mb_make_call,mb_make_target_phony,@help)
|
|
||||||
|
|
||||||
@help-variable:
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),@echo "Documention of the make fire variables;")
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_open,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_close,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(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)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),@echo "Documention of the deep make variables;")
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_open,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_DEEP)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_close,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(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)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),@echo "Documention of the rock make variables;")
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_open,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_ROCK)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_close,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(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)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),@echo "Documention of the flow make variables;")
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_open,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_FLOW)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_close,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(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)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),@echo "Documention of the i18n make variables;")
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_open,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_I18N)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_close,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(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)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),@echo "Documention of the make fire functions;")
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_open,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_FUNCTION)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_close,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(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)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),@echo "Documention of the deep make functions;")
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_open,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_FUNCTION_DEEP)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_close,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(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)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),@echo "Documention of the flow make functions;")
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_open,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_FUNCTION_FLOW)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_close,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(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)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),@echo "Build one of the following make fire targets;")
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_open,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_close,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(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)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),@echo "Build one of the following deep make targets;")
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_open,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_DEEP)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_close,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(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)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),@echo "Build one of the following run make targets;")
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_open,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_RUN)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo $$(call mb_make_call,mb_make_xml_close,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(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)$$(eval MB_DOC_FORMAT := xml)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),@echo -e "Documention of all fire functions/variables/targets;\\n")
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo -e $$(call mb_make_call,mb_make_xml_open,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),$$(call mb_make_call,mb_os_echo_good,"Variables"))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),$$(call mb_make_call,mb_os_echo_good,"Variables in the deep"))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_DEEP)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),$$(call mb_make_call,mb_os_echo_good,"Variables hard as rock"))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_ROCK)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),$$(call mb_make_call,mb_os_echo_good,"Variables defining flow"))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_FLOW)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),$$(call mb_make_call,mb_os_echo_good,"Variables for i18n letters"))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_VARIABLE_I18N)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),$$(call mb_make_call,mb_os_echo_good,"Functions"))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_FUNCTION)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),$$(call mb_make_call,mb_os_echo_good,"Functions in the deep"))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_FUNCTION_DEEP)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),$$(call mb_make_call,mb_os_echo_good,"Functions building flow"))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_FUNCTION_FLOW)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),$$(call mb_make_call,mb_os_echo_good,"Targets"))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),$$(call mb_make_call,mb_os_echo_good,"Targets in the deep"))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_DEEP)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),$$(call mb_make_call,mb_os_echo_good,"Targets that run away"))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_RUN)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),$$(call mb_make_call,mb_os_echo_good,"Targets main project help"))
|
|
||||||
$(MB_@RECIPE)@echo -e $$(MB_DOC_FIRE_TARGET_HELP)
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter xml,$$(MB_DOC_FORMAT)),@echo -e $$(call mb_make_call,mb_make_xml_close,$$(MB_DOC_XML_ROOT)))
|
|
||||||
$(MB_@RECIPE)$$(if $$(filter txt,$$(MB_DOC_FORMAT)),$$(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)MB_DOC_FORMAT$(MB_MAKE_EQUALS)xml $$(MAKE) -s @help-all
|
|
||||||
$(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_doc_flow_help
|
|
||||||
$(MB_ᕽᕽᕽ )$(eval $(call mb_make_call,__$(0),$(1)))
|
|
||||||
$(MB_ᕽᕽᕽ )$(if $(.DEFAULT_GOAL),,$(eval .DEFAULT_GOAL :$(MB_MAKE_EQUALS) @help))
|
|
||||||
endef
|
|
||||||
MB_DOC_FIRE_FUNCTION_FLOW += $(call mb_make_call,_mb_doc_function4u_flow,mb_doc_flow_help,"Prints flow of fire help target.")
|
|
||||||
|
|
||||||
|
|
132
lib/make/𓃬𓍄𓋹𓀭/mb_flow_help.mk
Normal file
132
lib/make/𓃬𓍄𓋹𓀭/mb_flow_help.mk
Normal file
|
@ -0,0 +1,132 @@
|
||||||
|
|
||||||
|
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,"Prints flow of fire help target.")
|
||||||
|
|
Loading…
Reference in a new issue