2024-07-12 16:30:53 +00:00
d e f i n e _ _ m b _ f l o w _ d o c _ h e l p
.RECIPEPREFIX := $( MB_@RECIPE)
@help :
$( MB_ @RECIPE ) @ e c h o - 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 ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T _ H E L P )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p )
@help-variable :
$( MB_ @RECIPE ) @ e c h o - e "Documention of the make fire variables;"
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ V A R I A B L E )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ d o c _ t a r g e t _ h e l p , @ h e l p - v a r i a b l e , "Lists build variables." )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p - v a r i a b l e )
@help-variable-deep :
$( MB_ @RECIPE ) @ e c h o "Documention of the deep make variables;"
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ V A R I A B L E _ D E E P )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ d o c _ t a r g e t _ h e l p , @ h e l p - v a r i a b l e - d e e p , "Lists deep variables." )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p - v a r i a b l e - d e e p )
@help-variable-rock :
$( MB_ @RECIPE ) @ e c h o - e "Documention of the rock make variables;"
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ V A R I A B L E _ R O C K )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ d o c _ t a r g e t _ h e l p , @ h e l p - v a r i a b l e - r o c k , "Lists rock variables." )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p - v a r i a b l e - r o c k )
@help-variable-flow :
$( MB_ @RECIPE ) @ e c h o - e "Documention of the flow make variables;"
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ V A R I A B L E _ F L O W )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ d o c _ t a r g e t _ h e l p , @ h e l p - v a r i a b l e - f l o w , "Lists flow variables." )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p - v a r i a b l e - f l o w )
@help-variable-i18n :
$( MB_ @RECIPE ) @ e c h o - e "Documention of the i18n make variables;"
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ V A R I A B L E _ I 1 8 N )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ d o c _ t a r g e t _ h e l p , @ h e l p - v a r i a b l e - i 1 8 n , "Lists i18n variables." )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p - v a r i a b l e - i 1 8 n )
@help-function :
$( MB_ @RECIPE ) @ e c h o - e "Documention of the make fire functions;"
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ F U N C T I O N )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ d o c _ t a r g e t _ h e l p , @ h e l p - f u n c t i o n , "Lists build functions." )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p - f u n c t i o n )
@help-function-deep :
$( MB_ @RECIPE ) @ e c h o - e "Documention of the deep make functions;"
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ F U N C T I O N _ D E E P )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ d o c _ t a r g e t _ h e l p , @ h e l p - f u n c t i o n - d e e p , "Lists deep functions." )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p - f u n c t i o n - d e e p )
@help-function-flow :
$( MB_ @RECIPE ) @ e c h o - e "Documention of the flow make functions;"
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ F U N C T I O N _ F L O W )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ d o c _ t a r g e t _ h e l p , @ h e l p - f u n c t i o n - f l o w , "Lists flow functions." )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p - f u n c t i o n - f l o w )
@help-target :
$( MB_ @RECIPE ) @ e c h o - e "Build one of the following make fire targets;"
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ d o c _ t a r g e t _ h e l p , @ h e l p - t a r g e t , "Lists build targets." )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p - t a r g e t )
@help-target-deep :
$( MB_ @RECIPE ) @ e c h o - e "Build one of the following deep make targets;"
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T _ D E E P )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ d o c _ t a r g e t _ h e l p , @ h e l p - t a r g e t - d e e p , "Lists deep targets." )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p - t a r g e t - d e e p )
@help-target-run :
$( MB_ @RECIPE ) @ e c h o - e "Build one of the following run make targets;"
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T _ R U N )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ d o c _ t a r g e t _ h e l p , @ h e l p - t a r g e t - r u n , "Lists runnable targets." )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p - t a r g e t - r u n )
2024-07-14 20:39:03 +00:00
@help-target-module :
$( MB_ @RECIPE ) @ e c h o - e "Build one of the following module make targets;"
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T _ M O D U L E )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ d o c _ t a r g e t _ h e l p , @ h e l p - t a r g e t - m o d u l e , "Lists module targets." )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p - t a r g e t - m o d u l e )
@help-target-assert :
$( MB_ @RECIPE ) @ e c h o - e "Build one of the following assert make targets;"
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T _ A S S E R T )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ d o c _ t a r g e t _ h e l p , @ h e l p - t a r g e t - a s s e r t , "Lists assert targets." )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p - t a r g e t - a s s e r t )
2024-07-15 00:34:29 +00:00
@help-machine :
$( MB_ @RECIPE ) @ e c h o - e "Use one of the following machines to build targets;"
$( MB_ @RECIPE ) @ e c h o - e "\n " $( foreach _rom ,$ ( MB_MSXROM_FIRE_MACHINES ) ," * $ ( _rom ) \n ")
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ d o c _ t a r g e t _ h e l p , @ h e l p - m a c h i n e , "Lists supported machines." )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p - m a c h i n e )
2024-07-12 16:30:53 +00:00
@help-all :
$( MB_ @RECIPE ) @ e c h o - e "Documention of all fire functions/variables/targets;\\n"
$( MB_ @RECIPE ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ o s _ e c h o _ g o o d , "Variables" )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ V A R I A B L E )
$( MB_ @RECIPE ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ o s _ e c h o _ g o o d , "Variables in the deep" )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ V A R I A B L E _ D E E P )
$( MB_ @RECIPE ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ o s _ e c h o _ g o o d , "Variables hard as rock" )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ V A R I A B L E _ R O C K )
$( MB_ @RECIPE ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ o s _ e c h o _ g o o d , "Variables defining flow" )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ V A R I A B L E _ F L O W )
$( MB_ @RECIPE ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ o s _ e c h o _ g o o d , "Variables for i18n letters" )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ V A R I A B L E _ I 1 8 N )
$( MB_ @RECIPE ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ o s _ e c h o _ g o o d , "Functions" )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ F U N C T I O N )
$( MB_ @RECIPE ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ o s _ e c h o _ g o o d , "Functions in the deep" )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ F U N C T I O N _ D E E P )
$( MB_ @RECIPE ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ o s _ e c h o _ g o o d , "Functions building flow" )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ F U N C T I O N _ F L O W )
$( MB_ @RECIPE ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ o s _ e c h o _ g o o d , "Targets" )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T )
$( MB_ @RECIPE ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ o s _ e c h o _ g o o d , "Targets in the deep" )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T _ D E E P )
$( MB_ @RECIPE ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ o s _ e c h o _ g o o d , "Targets that run away" )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T _ R U N )
2024-07-14 20:39:03 +00:00
$( MB_ @RECIPE ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ o s _ e c h o _ g o o d , "Targets from modules builds" )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T _ M O D U L E )
$( MB_ @RECIPE ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ o s _ e c h o _ g o o d , "Targets that assert hopefully" )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T _ A S S E R T )
2024-07-12 16:30:53 +00:00
$( MB_ @RECIPE ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ o s _ e c h o _ g o o d , "Targets main project help" )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T _ H E L P )
$( MB_ @RECIPE ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ o s _ e c h o _ g o o d , O K )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ d o c _ t a r g e t _ h e l p , @ h e l p - a l l , "Lists all documented information." )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p - a l l )
@help-firemake :
$(MB_@RECIPE)$$(eval MB_DOC_FORMAT : $( MB_MAKE_EQUALS ) xml )
$( MB_ @RECIPE ) @ e c h o - e $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ x m l _ o p e n , $$ ( M B _ D O C _ X M L _ R O O T ) )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ V A R I A B L E )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ V A R I A B L E _ D E E P )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ V A R I A B L E _ R O C K )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ V A R I A B L E _ F L O W )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ V A R I A B L E _ I 1 8 N )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ F U N C T I O N )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ F U N C T I O N _ D E E P )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ F U N C T I O N _ F L O W )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T _ D E E P )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T _ R U N )
2024-07-14 20:39:03 +00:00
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T _ M O D U L E )
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T _ A S S E R T )
2024-07-12 16:30:53 +00:00
$( MB_ @RECIPE ) @ e c h o - e $$ ( M B _ D O C _ F I R E _ T A R G E T _ H E L P )
$( MB_ @RECIPE ) @ e c h o - e $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ x m l _ c l o s e , $$ ( M B _ D O C _ X M L _ R O O T ) )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ d o c _ t a r g e t _ h e l p , @ h e l p - f i r e m a k e , "Output all documention in XML for IDE integration." )
$( MB_ ᕽ ᕽ ᕽ ) $$ ( c a l l m b _ m a k e _ c a l l , m b _ m a k e _ t a r g e t _ p h o n y , @ h e l p - f i r e m a k e )
.RECIPEPREFIX := $( MB_@RECIPEPREFIX)
e n d e f
d e f i n e m b _ f l o w _ d o c _ h e l p
$( MB_ ᕽ ᕽ ᕽ ) $( eval $ ( call mb_make_call ,__ $ ( 0) ,$ ( 1) ) )
e n d e f
2024-07-12 17:03:09 +00:00
$( call mb_make_call ,mb_doc_function_flow ,mb_flow_doc_help ,"Inject flow of fire help system .")
2024-07-12 16:30:53 +00:00