2024-07-02 01:27:14 +00:00
2024-07-10 12:05:38 +00:00
MB_DOC_FIRE_VARIABLE_FLOW ?= \\ n
2024-07-07 18:53:06 +00:00
#*** Recursive variable: MB_DOC_FIRE_VARIABLE_FLOW += $(call mb_make_call,_mb_doc_variable4u_flow,MB_DOC_FIRE_VARIABLE_FLOW,"Flow builder of fire flow variable data.")
2024-07-02 01:27:14 +00:00
2024-07-10 12:05:38 +00:00
MB_DOC_FIRE_VARIABLE ?= \\ n
2024-07-07 18:53:06 +00:00
MB_DOC_FIRE_VARIABLE_FLOW += $( call mb_make_call,_mb_doc_variable4u_flow,MB_DOC_FIRE_VARIABLE,"Flow builder of firemake variable data." )
2024-07-02 01:27:14 +00:00
2024-07-10 12:05:38 +00:00
MB_DOC_FIRE_VARIABLE_DEEP ?= \\ n
2024-07-07 18:53:06 +00:00
MB_DOC_FIRE_VARIABLE_FLOW += $( call mb_make_call,_mb_doc_variable4u_flow,MB_DOC_FIRE_VARIABLE_DEEP,"Flow builder of makefire deep variable data." )
2024-07-05 18:43:18 +00:00
2024-07-10 12:05:38 +00:00
MB_DOC_FIRE_VARIABLE_ROCK ?= \\ n
2024-07-07 18:53:06 +00:00
MB_DOC_FIRE_VARIABLE_FLOW += $( call mb_make_call,_mb_doc_variable4u_flow,MB_DOC_FIRE_VARIABLE_ROCK,"Flow builder of makefire rock variable data." )
2024-07-05 18:43:18 +00:00
2024-07-10 12:05:38 +00:00
MB_DOC_FIRE_VARIABLE_I18N ?= \\ n
2024-07-08 02:23:37 +00:00
MB_DOC_FIRE_VARIABLE_FLOW += $( call mb_make_call,_mb_doc_variable4u_flow,MB_DOC_FIRE_VARIABLE_I18N,"Flow builder of makefire i18n variable data." )
2024-07-10 12:05:38 +00:00
MB_DOC_FIRE_FUNCTION ?= \\ n
2024-07-07 18:53:06 +00:00
MB_DOC_FIRE_VARIABLE_FLOW += $( call mb_make_call,_mb_doc_variable4u_flow,MB_DOC_FIRE_FUNCTION,"Flow builder of firemake function data." )
2024-07-05 18:43:18 +00:00
2024-07-10 12:05:38 +00:00
MB_DOC_FIRE_FUNCTION_DEEP ?= \\ n
2024-07-07 18:53:06 +00:00
MB_DOC_FIRE_VARIABLE_FLOW += $( call mb_make_call,_mb_doc_variable4u_flow,MB_DOC_FIRE_FUNCTION_DEEP,"Flow builder of firemake deep function data." )
2024-07-05 18:43:18 +00:00
2024-07-10 12:05:38 +00:00
MB_DOC_FIRE_FUNCTION_FLOW ?= \\ n
2024-07-07 18:53:06 +00:00
MB_DOC_FIRE_VARIABLE_FLOW += $( call mb_make_call,_mb_doc_variable4u_flow,MB_DOC_FIRE_FUNCTION_FLOW,"Flow builder of firemake flow function data." )
2024-07-10 12:05:38 +00:00
MB_DOC_FIRE_TARGET ?= \\ n
2024-07-07 18:53:06 +00:00
MB_DOC_FIRE_VARIABLE_FLOW += $( call mb_make_call,_mb_doc_variable4u_flow,MB_DOC_FIRE_TARGET,"Flow builder of firemake target data." )
2024-07-10 12:05:38 +00:00
MB_DOC_FIRE_TARGET_DEEP ?= \\ n
2024-07-07 18:53:06 +00:00
MB_DOC_FIRE_VARIABLE_FLOW += $( call mb_make_call,_mb_doc_variable4u_flow,MB_DOC_FIRE_TARGET_DEEP,"Flow builder of firemake deep target data." )
2024-07-10 12:05:38 +00:00
MB_DOC_FIRE_TARGET_RUN ?= \\ n
2024-07-07 18:53:06 +00:00
MB_DOC_FIRE_VARIABLE_FLOW += $( call mb_make_call,_mb_doc_variable4u_flow,MB_DOC_FIRE_TARGET_RUN,"Flow builder of firemake run target data." )
2024-07-10 12:05:38 +00:00
MB_DOC_FIRE_TARGET_HELP ?= \\ n
2024-07-07 18:53:06 +00:00
MB_DOC_FIRE_VARIABLE_FLOW += $( call mb_make_call,_mb_doc_variable4u_flow,MB_DOC_FIRE_TARGET_HELP,"Flow builder of firemake help data." )
2024-07-05 18:43:18 +00:00
MB_DOC_XML_ROOT := firemake
2024-07-07 18:53:06 +00:00
MB_DOC_FIRE_VARIABLE_ROCK += $( call mb_make_call,_mb_doc_variable4u_rock,MB_DOC_XML_ROOT,"XML root tag for firemake output." )
2024-07-05 18:43:18 +00:00
MB_DOC_XML_ATTR_NAME := name
2024-07-07 18:53:06 +00:00
MB_DOC_FIRE_VARIABLE_ROCK += $( call mb_make_call,_mb_doc_variable4u_rock,MB_DOC_XML_ATTR_NAME,"XML name attribute for firemake output." )
2024-07-05 18:43:18 +00:00
MB_DOC_XML_ATTR_LEVEL := level
2024-07-07 18:53:06 +00:00
MB_DOC_FIRE_VARIABLE_ROCK += $( call mb_make_call,_mb_doc_variable4u_rock,MB_DOC_XML_ATTR_LEVEL,"XML level attribute for firemake output." )
2024-07-05 18:43:18 +00:00
MB_DOC_XML_TAG_ARGS := arguments
2024-07-07 18:53:06 +00:00
MB_DOC_FIRE_VARIABLE_ROCK += $( call mb_make_call,_mb_doc_variable4u_rock,MB_DOC_XML_TAG_ARGS,"XML arguments tag for firemake output." )
2024-07-05 18:43:18 +00:00
MB_DOC_XML_TAG_DESC := description
2024-07-07 18:53:06 +00:00
MB_DOC_FIRE_VARIABLE_ROCK += $( call mb_make_call,_mb_doc_variable4u_rock,MB_DOC_XML_TAG_DESC,"XML description tag for firemake output." )
2024-07-05 18:43:18 +00:00
MB_DOC_XML_TAG_VALUE := value
2024-07-07 18:53:06 +00:00
MB_DOC_FIRE_VARIABLE_ROCK += $( call mb_make_call,_mb_doc_variable4u_rock,MB_DOC_XML_TAG_VALUE,"XML value tag for firemake output." )
2024-07-05 18:43:18 +00:00
2024-07-12 16:30:53 +00:00
# rename now internal: _MB_DOC_FORMAT
2024-07-05 18:43:18 +00:00
MB_DOC_FORMAT ?= txt
2024-07-12 16:30:53 +00:00
#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.")
2024-07-02 01:27:14 +00:00
2024-07-10 12:05:38 +00:00
d e f i n e _ e s c a p e
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( subst <,"<",$ ( subst >,">",$ ( subst \\n ,\\\n ,$ ( subst ','"'"',$ ( 1) ) ) ) )
2024-07-10 12:05:38 +00:00
e n d e f
2024-07-02 01:27:14 +00:00
d e f i n e _ m b _ d o c _ v a r i a b l e _ t x t
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) "* " $( 2) $( MB_MAKE_EQUALS ) $( call mb_make_call ,_escape ,$ ( 4) ) \ \ n $( if $ ( 3) ,\\t $ ( 3) \\n ) \ \ n
2024-07-02 01:27:14 +00:00
e n d e f
d e f i n e _ m b _ d o c _ v a r i a b l e _ x m l
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) \ \ n \ \ t $( call mb_make_call ,mb_make_xml_open ,variable ,$ ( MB_DOC_XML_ATTR_NAME ) ,$ ( 2) ,$ ( MB_DOC_XML_ATTR_LEVEL ) ,$ ( 1) ) \ \ n \ \ t \ \ t $( call mb_make_call ,mb_make_xml_tag_value ,$ ( MB_DOC_XML_TAG_VALUE ) ,$ ( 4) ) \ \ n \ \ t \ \ t $( call mb_make_call ,mb_make_xml_tag_value ,$ ( MB_DOC_XML_TAG_DESC ) ,$ ( 3) ) \ \ n \ \ t $( call mb_make_call ,mb_make_xml_close ,variable )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-07 18:53:06 +00:00
d e f i n e _ m b _ d o c _ v a r i a b l e 4 u _ d e e p
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( call mb_make_call ,_mb_doc_variable_ $ ( MB_DOC_FORMAT ) ,deep ,$ ( 1) ,$ ( 2) ,$ ( $ ( 1) ) )
2024-07-07 18:53:06 +00:00
e n d e f
d e f i n e _ m b _ d o c _ v a r i a b l e 4 u _ r o c k
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( call mb_make_call ,_mb_doc_variable_ $ ( MB_DOC_FORMAT ) ,rock ,$ ( 1) ,$ ( 2) ,$ ( $ ( 1) ) )
2024-07-07 18:53:06 +00:00
e n d e f
d e f i n e _ m b _ d o c _ v a r i a b l e 4 u _ f l o w
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( call mb_make_call ,_mb_doc_variable_ $ ( MB_DOC_FORMAT ) ,flow ,$ ( 1) ,$ ( 2) ,$ ( words $ ( $ ( 1) ) ) )
2024-07-07 18:53:06 +00:00
e n d e f
2024-07-08 02:23:37 +00:00
d e f i n e _ m b _ d o c _ v a r i a b l e 4 u _ i 1 8 n
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( call mb_make_call ,_mb_doc_variable_ $ ( MB_DOC_FORMAT ) ,i 18n ,$ ( 1) ,$ ( 2) ,$ ( $ ( 1) ) )
2024-07-08 02:23:37 +00:00
e n d e f
2024-07-02 01:27:14 +00:00
d e f i n e m b _ d o c _ v a r i a b l e
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_VARIABLE += $ $ ( call mb_make_call ,_mb_doc_variable_ $ $ ( MB_DOC_FORMAT ) ,build ,$ ( 1) ,$ ( 2) ,$ ( $ ( 1) ) ) )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-08 02:23:37 +00:00
MB_DOC_FIRE_FUNCTION_DEEP += $( call mb_make_call,_mb_doc_function4u_deep,mb_doc_variable,"Saves formatted documention of an variable." ,"<name> [desc]" )
2024-07-05 18:43:18 +00:00
d e f i n e m b _ d o c _ v a r i a b l e _ d e e p
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_VARIABLE_DEEP += $ $ ( call mb_make_call ,_mb_doc_variable 4u_deep ,$ ( 1) ,$ ( 2) ) )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-08 02:23:37 +00:00
MB_DOC_FIRE_FUNCTION_DEEP += $( call mb_make_call,_mb_doc_function4u_deep,mb_doc_variable_deep,"Saves formatted documention of an deep variable." ,"<name> [desc]" )
2024-07-05 18:43:18 +00:00
d e f i n e m b _ d o c _ v a r i a b l e _ r o c k
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_VARIABLE_ROCK += $ $ ( call mb_make_call ,_mb_doc_variable 4u_rock ,$ ( 1) ,$ ( 2) ) )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-08 02:23:37 +00:00
MB_DOC_FIRE_FUNCTION_DEEP += $( call mb_make_call,_mb_doc_function4u_deep,mb_doc_variable_rock,"Saves formatted documention of an rock variable." ,"<name> [desc]" )
2024-07-05 18:43:18 +00:00
d e f i n e m b _ d o c _ v a r i a b l e _ f l o w
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_VARIABLE_FLOW += $ $ ( call mb_make_call ,_mb_doc_variable 4u_flow ,$ ( 1) ,$ ( 2) ) )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-08 02:23:37 +00:00
MB_DOC_FIRE_FUNCTION_DEEP += $( call mb_make_call,_mb_doc_function4u_deep,mb_doc_variable_flow,"Saves formatted documention of an flow variable." ,"<name> [desc]" )
d e f i n e m b _ d o c _ v a r i a b l e _ i 1 8 n
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_VARIABLE_I 18N += $ $ ( call mb_make_call ,_mb_doc_variable 4u_i 18n ,$ ( 1) ,$ ( 2) ) )
2024-07-08 02:23:37 +00:00
e n d e f
MB_DOC_FIRE_FUNCTION_DEEP += $( call mb_make_call,_mb_doc_function4u_deep,mb_doc_variable_i18n,"Saves formatted documention of an i18n variable." ,"<name> [desc]" )
2024-07-02 01:27:14 +00:00
2024-07-05 18:43:18 +00:00
d e f i n e _ m b _ d o c _ f u n c t i o n _ t x t
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) "* " $( 2) $( if $ ( 4) , $ ( 4) ) $( if $ ( 3) ,\\n \\t $ ( 3) \\n ) \ \ n
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-05 18:43:18 +00:00
d e f i n e _ m b _ d o c _ f u n c t i o n _ x m l
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) \ \ n \ \ t $( call mb_make_call ,mb_make_xml_open ,function ,$ ( MB_DOC_XML_ATTR_NAME ) ,$ ( 2) ,$ ( MB_DOC_XML_ATTR_LEVEL ) ,$ ( 1) ) \ \ n \ \ t \ \ t $( call mb_make_call ,mb_make_xml_tag_value ,$ ( MB_DOC_XML_TAG_ARGS ) ,$ ( 4) ) \ \ n \ \ t \ \ t $( call mb_make_call ,mb_make_xml_tag_value ,$ ( MB_DOC_XML_TAG_DESC ) ,$ ( 3) ) \ \ n \ \ t $( call mb_make_call ,mb_make_xml_close ,function )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-07 18:53:06 +00:00
d e f i n e _ m b _ d o c _ f u n c t i o n 4 u _ d e e p
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( call mb_make_call ,_mb_doc_function_ $ ( MB_DOC_FORMAT ) ,deep ,$ ( 1) ,$ ( 2) ,$ ( 3) )
2024-07-07 18:53:06 +00:00
e n d e f
d e f i n e _ m b _ d o c _ f u n c t i o n 4 u _ f l o w
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( call mb_make_call ,_mb_doc_function_ $ ( MB_DOC_FORMAT ) ,flow ,$ ( 1) ,$ ( 2) ,$ ( 3) )
2024-07-07 18:53:06 +00:00
e n d e f
2024-07-05 18:43:18 +00:00
d e f i n e m b _ d o c _ f u n c t i o n
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_FUNCTION += $ $ ( call mb_make_call ,_mb_doc_function_ $ $ ( MB_DOC_FORMAT ) ,build ,$ ( 1) ,$ ( 2) ,$ ( 3) ) )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-08 02:23:37 +00:00
MB_DOC_FIRE_FUNCTION_DEEP += $( call mb_make_call,_mb_doc_function4u_deep,mb_doc_function,"Saves formatted documention of an function." ,"<name> [desc] [args]" )
2024-07-05 18:43:18 +00:00
d e f i n e m b _ d o c _ f u n c t i o n _ d e e p
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_FUNCTION_DEEP += $ $ ( call mb_make_call ,_mb_doc_function 4u_deep ,$ ( 1) ,$ ( 2) ,$ ( 3) ) )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-08 02:23:37 +00:00
MB_DOC_FIRE_FUNCTION_DEEP += $( call mb_make_call,_mb_doc_function4u_deep,mb_doc_function_deep,"Saves formatted documention of an deep function." ,"<name> [desc] [args]" )
2024-07-05 18:43:18 +00:00
d e f i n e m b _ d o c _ f u n c t i o n _ f l o w
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_FUNCTION_FLOW += $ $ ( call mb_make_call ,_mb_doc_function 4u_flow ,$ ( 1) ,$ ( 2) ,$ ( 3) ) )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-08 02:23:37 +00:00
MB_DOC_FIRE_FUNCTION_DEEP += $( call mb_make_call,_mb_doc_function4u_deep,mb_doc_function_flow,"Saves formatted documention of an flow function." ,"<name> [desc] [args]" )
2024-07-02 01:27:14 +00:00
2024-07-02 21:18:20 +00:00
2024-07-05 18:43:18 +00:00
d e f i n e _ m b _ d o c _ t a r g e t _ t x t
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) "* " $( 2) $( if $ ( 3) ,\\n \\t $ ( 3) ) \ \ n \ \ n
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-05 18:43:18 +00:00
d e f i n e _ m b _ d o c _ t a r g e t _ x m l
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) \ \ n \ \ t $( call mb_make_call ,mb_make_xml_open ,target ,$ ( MB_DOC_XML_ATTR_NAME ) ,$ ( 2) ,$ ( MB_DOC_XML_ATTR_LEVEL ) ,$ ( 1) ) $( if $ 3,\\n \\t \\t $ ( call mb_make_call ,mb_make_xml_tag_value ,$ ( MB_DOC_XML_TAG_DESC ) ,$ ( 3) ) \\n \\t $ ( call mb_make_call ,mb_make_xml_close ,target ) ,\\n \\t $ ( call mb_make_call ,mb_make_xml_close ,target ) )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-05 18:43:18 +00:00
d e f i n e m b _ d o c _ t a r g e t
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_TARGET += $ $ ( call mb_make_call ,_mb_doc_target_ $ $ ( MB_DOC_FORMAT ) ,build ,$ ( 1) ,$ ( 2) ) )
2024-07-05 18:43:18 +00:00
e n d e f
2024-07-08 02:23:37 +00:00
MB_DOC_FIRE_FUNCTION_DEEP += $( call mb_make_call,_mb_doc_function4u_deep,mb_doc_target,"Saves formatted documention of an target." ,"<name> [desc]" )
2024-07-05 18:43:18 +00:00
d e f i n e m b _ d o c _ t a r g e t _ d e e p
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_TARGET_DEEP += $ $ ( call mb_make_call ,_mb_doc_target_ $ $ ( MB_DOC_FORMAT ) ,deep ,$ ( 1) ,$ ( 2) ) )
2024-07-05 18:43:18 +00:00
e n d e f
2024-07-08 02:23:37 +00:00
MB_DOC_FIRE_FUNCTION_DEEP += $( call mb_make_call,_mb_doc_function4u_deep,mb_doc_target_deep,"Saves formatted documention of an deep target." ,"<name> [desc]" )
2024-07-05 18:43:18 +00:00
d e f i n e m b _ d o c _ t a r g e t _ h e l p
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_TARGET_HELP += $ $ ( call mb_make_call ,_mb_doc_target_ $ $ ( MB_DOC_FORMAT ) ,help ,$ ( 1) ,$ ( 2) ) )
2024-07-05 18:43:18 +00:00
e n d e f
2024-07-08 02:23:37 +00:00
MB_DOC_FIRE_FUNCTION_DEEP += $( call mb_make_call,_mb_doc_function4u_deep,mb_doc_target_help,"Saves formatted documention of an help target." ,"<name> [desc]" )
2024-07-07 12:29:32 +00:00
d e f i n e m b _ d o c _ t a r g e t _ r u n
2024-07-12 15:59:26 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_TARGET_RUN += $ $ ( call mb_make_call ,_mb_doc_target_ $ $ ( MB_DOC_FORMAT ) ,run ,$ ( 1) ,$ ( 2) ) )
2024-07-07 12:29:32 +00:00
e n d e f
2024-07-08 02:23:37 +00:00
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]" )
2024-07-05 18:43:18 +00:00