2024-07-02 01:27:14 +00:00
2024-07-18 11:25:50 +00:00
MB_DOC_FIRE_VARIABLE_FLOW = $( call mb-make-call,mb-make-space-newline)
MB_DOC_FIRE_VARIABLE = $( call mb-make-call,mb-make-space-newline)
MB_DOC_FIRE_VARIABLE_DEEP = $( call mb-make-call,mb-make-space-newline)
MB_DOC_FIRE_VARIABLE_ROCK = $( call mb-make-call,mb-make-space-newline)
MB_DOC_FIRE_VARIABLE_I18N = $( call mb-make-call,mb-make-space-newline)
MB_DOC_FIRE_FUNCTION = $( call mb-make-call,mb-make-space-newline)
MB_DOC_FIRE_FUNCTION_DEEP = $( call mb-make-call,mb-make-space-newline)
MB_DOC_FIRE_FUNCTION_FLOW = $( call mb-make-call,mb-make-space-newline)
MB_DOC_FIRE_TARGET = $( call mb-make-call,mb-make-space-newline)
MB_DOC_FIRE_TARGET_DEEP = $( call mb-make-call,mb-make-space-newline)
MB_DOC_FIRE_TARGET_RUN = $( call mb-make-call,mb-make-space-newline)
MB_DOC_FIRE_TARGET_MODULE = $( call mb-make-call,mb-make-space-newline)
2024-07-18 13:57:00 +00:00
MB_DOC_FIRE_TARGET_ORPHAN = $( call mb-make-call,mb-make-space-newline)
2024-07-18 11:25:50 +00:00
MB_DOC_FIRE_TARGET_ASSERT = $( call mb-make-call,mb-make-space-newline)
MB_DOC_FIRE_TARGET_HELP = $( call mb-make-call,mb-make-space-newline)
2024-07-05 18:43:18 +00:00
MB_DOC_XML_ROOT := firemake
MB_DOC_XML_ATTR_NAME := name
MB_DOC_XML_ATTR_LEVEL := level
MB_DOC_XML_TAG_ARGS := arguments
MB_DOC_XML_TAG_DESC := description
MB_DOC_XML_TAG_VALUE := value
2024-07-17 10:46:31 +00:00
#MB_DOC_XML_TAG_MACHINE := machine
#MB_DOC_FIRE_VARIABLE_ROCK += $(call mb-make-call,_mb-doc-variable4u-rock,MB_DOC_XML_TAG_MACHINE,XML machine tag for firemake output.)
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-16 17:32:08 +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-16 14:45:37 +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-17 13:08:25 +00:00
$( MB_ ᕽ ᕽ ᕽ ) * $( 2) $( MB_MAKE_EQUALS ) $( 4) $( call mb -make -call ,mb -make -space -newline ) $ \
$( MB_ ᕽ ᕽ ᕽ ) $( if $ ( 3) ,$ ( call mb -make -call ,mb -make -space -tab ) $ ( 3) $ ( call mb -make -call ,mb -make -space -newline ) ) $ \
$( MB_ ᕽ ᕽ ᕽ ) $( call mb -make -call ,mb -make -space -newline )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-16 14:45:37 +00:00
d e f i n e _ m b - d o c - v a r i a b l e - x m l
2024-07-17 13:08:25 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( call mb -make -call ,mb -make -space -newline ) $ \
$( MB_ ᕽ ᕽ ᕽ ) $( call mb -make -call ,mb -make -space -tab ) $( call mb -make -call ,mb -make -xml -open ,variable ,$ ( MB_DOC_XML_ATTR_NAME ) ,$ ( 2) ,$ ( MB_DOC_XML_ATTR_LEVEL ) ,$ ( 1) ) $( call mb -make -call ,mb -make -space -newline ) $ \
$( MB_ ᕽ ᕽ ᕽ ) $( if $ ( 4) ,$ ( call mb -make -call ,mb -make -space -tab ) $ ( call mb -make -call ,mb -make -space -tab ) $ ( call mb -make -call ,mb -make -xml -tag -value ,$ ( MB_DOC_XML_TAG_VALUE ) ,$ ( 4) ) $ ( call mb -make -call ,mb -make -space -newline ) ) $ \
$( MB_ ᕽ ᕽ ᕽ ) $( if $ ( 3) ,$ ( call mb -make -call ,mb -make -space -tab ) $ ( call mb -make -call ,mb -make -space -tab ) $ ( call mb -make -call ,mb -make -xml -tag -value ,$ ( MB_DOC_XML_TAG_DESC ) ,$ ( 3) ) $ ( call mb -make -call ,mb -make -space -newline ) ) $ \
$( MB_ ᕽ ᕽ ᕽ ) $( call mb -make -call ,mb -make -space -tab ) $( call mb -make -call ,mb -make -xml -close ,variable )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-16 14:45:37 +00:00
d e f i n e m b - d o c - v a r i a b l e
$( 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-16 14:45:37 +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-18 11:25:50 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_VARIABLE_DEEP += $ $ ( call mb -make -call ,_mb -doc -variable -$ $ ( MB_DOC_FORMAT ) ,deep ,$ ( 1) ,$ ( 2) ,$ ( $ ( 1) ) ) )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-16 14:45:37 +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-18 11:25:50 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_VARIABLE_ROCK += $ $ ( call mb -make -call ,_mb -doc -variable -$ $ ( MB_DOC_FORMAT ) ,rock ,$ ( 1) ,$ ( 2) ,$ ( $ ( 1) ) ) )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-16 14:45:37 +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-18 11:25:50 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_VARIABLE_FLOW += $ $ ( call mb -make -call ,_mb -doc -variable -$ $ ( MB_DOC_FORMAT ) ,flow ,$ ( 1) ,$ ( 2) ,$ $ ( words $ $ ( $ ( 1) ) ) ) )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-16 14:45:37 +00:00
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-18 11:25:50 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_VARIABLE_I 18N += $ $ ( 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-18 11:25:50 +00:00
2024-07-02 01:27:14 +00:00
2024-07-16 14:45:37 +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-17 13:08:25 +00:00
$( MB_ ᕽ ᕽ ᕽ ) * $( 2) $( if $ ( 4) ,$ ( MB_MAKE_EQUALS ) $ ( 4) ) $( if $ ( 3) ,$ ( call mb -make -call ,mb -make -space -newline ) $ ( call mb -make -call ,mb -make -space -tab ) $ ( 3) $ ( call mb -make -call ,mb -make -space -newline ) ) $ \
$( MB_ ᕽ ᕽ ᕽ ) $( call mb -make -call ,mb -make -space -newline )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-16 14:45:37 +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-17 13:08:25 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( call mb -make -call ,mb -make -space -newline ) $ \
$( MB_ ᕽ ᕽ ᕽ ) $( call mb -make -call ,mb -make -space -tab ) $( call mb -make -call ,mb -make -xml -open ,function ,$ ( MB_DOC_XML_ATTR_NAME ) ,$ ( 2) ,$ ( MB_DOC_XML_ATTR_LEVEL ) ,$ ( 1) ) $( call mb -make -call ,mb -make -space -newline ) $ \
$( MB_ ᕽ ᕽ ᕽ ) $( if $ ( 4) ,$ ( call mb -make -call ,mb -make -space -tab ) $ ( call mb -make -call ,mb -make -space -tab ) $ ( call mb -make -call ,mb -make -xml -tag -value ,$ ( MB_DOC_XML_TAG_ARGS ) ,$ ( 4) ) $ ( call mb -make -call ,mb -make -space -newline ) ) $ \
$( MB_ ᕽ ᕽ ᕽ ) $( if $ ( 3) ,$ ( call mb -make -call ,mb -make -space -tab ) $ ( call mb -make -call ,mb -make -space -tab ) $ ( call mb -make -call ,mb -make -xml -tag -value ,$ ( MB_DOC_XML_TAG_DESC ) ,$ ( 3) ) $ ( call mb -make -call ,mb -make -space -newline ) ) $ \
$( MB_ ᕽ ᕽ ᕽ ) $( call mb -make -call ,mb -make -space -tab ) $( call mb -make -call ,mb -make -xml -close ,function )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-16 14:45:37 +00:00
d e f i n e m b - d o c - f u n c t i o n
$( 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-16 14:45:37 +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-18 11:25:50 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_FUNCTION_DEEP += $ $ ( call mb -make -call ,_mb -doc -function -$ $ ( MB_DOC_FORMAT ) ,deep ,$ ( 1) ,$ ( 2) ,$ ( 3) ) )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-16 14:45:37 +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-18 11:25:50 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_FUNCTION_FLOW += $ $ ( call mb -make -call ,_mb -doc -function -$ $ ( MB_DOC_FORMAT ) ,flow ,$ ( 1) ,$ ( 2) ,$ ( 3) ) )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-18 11:25:50 +00:00
2024-07-02 01:27:14 +00:00
2024-07-16 14:45:37 +00:00
d e f i n e _ m b - d o c - t a r g e t - t x t
2024-07-17 13:08:25 +00:00
$( MB_ ᕽ ᕽ ᕽ ) * $( 2) $( if $ ( 3) ,$ ( call mb -make -call ,mb -make -space -newline ) $ ( call mb -make -call ,mb -make -space -tab ) $ ( 3) ) $( call mb -make -call ,mb -make -space -newline ) $ \
$( MB_ ᕽ ᕽ ᕽ ) $( call mb -make -call ,mb -make -space -newline )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-16 14:45:37 +00:00
d e f i n e _ m b - d o c - t a r g e t - x m l
2024-07-17 13:08:25 +00:00
$( MB_ ᕽ ᕽ ᕽ ) $( call mb -make -call ,mb -make -space -newline ) $ \
$( MB_ ᕽ ᕽ ᕽ ) $( call mb -make -call ,mb -make -space -tab ) $( call mb -make -call ,mb -make -xml -open ,target ,$ ( MB_DOC_XML_ATTR_NAME ) ,$ ( 2) ,$ ( MB_DOC_XML_ATTR_LEVEL ) ,$ ( 1) ) $( call mb -make -call ,mb -make -space -newline ) $ \
$( MB_ ᕽ ᕽ ᕽ ) $( if $ ( 3) ,$ ( call mb -make -call ,mb -make -space -tab ) $ ( call mb -make -call ,mb -make -space -tab ) $ ( call mb -make -call ,mb -make -xml -tag -value ,$ ( MB_DOC_XML_TAG_DESC ) ,$ ( 3) ) $ ( call mb -make -call ,mb -make -space -newline ) ) $ \
$( MB_ ᕽ ᕽ ᕽ ) $( call mb -make -call ,mb -make -space -tab ) $( call mb -make -call ,mb -make -xml -close ,target )
2024-07-02 01:27:14 +00:00
e n d e f
2024-07-16 14:45:37 +00:00
d e f i n e m b - d o c - t a r g e t
$( 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-16 14:45:37 +00:00
d e f i n e m b - d o c - t a r g e t - d e e p
$( 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-16 14:45:37 +00:00
d e f i n e m b - d o c - t a r g e t - h e l p
$( 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-16 14:45:37 +00:00
d e f i n e m b - d o c - t a r g e t - r u n
$( 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-16 14:45:37 +00:00
d e f i n e m b - d o c - t a r g e t - m o d u l e
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_TARGET_MODULE += $ $ ( call mb -make -call ,_mb -doc -target -$ $ ( MB_DOC_FORMAT ) ,module ,$ ( 1) ,$ ( 2) ) )
2024-07-14 20:39:03 +00:00
e n d e f
2024-07-18 13:57:00 +00:00
d e f i n e m b - d o c - t a r g e t - o r p h a n
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_TARGET_ORPHAN += $ $ ( call mb -make -call ,_mb -doc -target -$ $ ( MB_DOC_FORMAT ) ,orphan ,$ ( 1) ,$ ( 2) ) )
e n d e f
2024-07-16 14:45:37 +00:00
d e f i n e m b - d o c - t a r g e t - a s s e r t
$( MB_ ᕽ ᕽ ᕽ ) $( eval MB_DOC_FIRE_TARGET_ASSERT += $ $ ( call mb -make -call ,_mb -doc -target -$ $ ( MB_DOC_FORMAT ) ,assert ,$ ( 1) ,$ ( 2) ) )
2024-07-14 20:39:03 +00:00
e n d e f
2024-07-05 18:43:18 +00:00