parameters: (env)
docstring: Add Builders and construction variables for docbook to an Environment.
docstring_summary: Add Builders and construction variables for docbook to an Environment.
docstring_tokens: Add Builders and construction variables for docbook to an Environment .
function: def generate(env):
      """Add Builders and construction variables for docbook to an Environment."""
  
      env.SetDefault(
          # Default names for customized XSL stylesheets
          DOCBOOK_DEFAULT_XSL_EPUB = '',
          DOCBOOK_DEFAULT_XSL_HTML = '',
          DOCBOOK_DEFAULT_XSL_HTMLCHUNKED = '',
          DOCBOOK_DEFAULT_XSL_HTMLHELP = '',
          DOCBOOK_DEFAULT_XSL_PDF = '',
          DOCBOOK_DEFAULT_XSL_MAN = '',
          DOCBOOK_DEFAULT_XSL_SLIDESPDF = '',
          DOCBOOK_DEFAULT_XSL_SLIDESHTML = '',
          
          # Paths to the detected executables
          DOCBOOK_XSLTPROC = '',
          DOCBOOK_XMLLINT = '',
          DOCBOOK_FOP = '',
          
          # Additional flags for the text processors
          DOCBOOK_XSLTPROCFLAGS = SCons.Util.CLVar(''),
          DOCBOOK_XMLLINTFLAGS = SCons.Util.CLVar(''),
          DOCBOOK_FOPFLAGS = SCons.Util.CLVar(''),
          DOCBOOK_XSLTPROCPARAMS = SCons.Util.CLVar(''),
          
          # Default command lines for the detected executables
          DOCBOOK_XSLTPROCCOM = xsltproc_com['xsltproc'],
          DOCBOOK_XMLLINTCOM = xmllint_com['xmllint'],
          DOCBOOK_FOPCOM = fop_com['fop'],
  
          # Screen output for the text processors
          DOCBOOK_XSLTPROCCOMSTR = None,
          DOCBOOK_XMLLINTCOMSTR = None,
          DOCBOOK_FOPCOMSTR = None,
          
          )
      _detect(env)
  
      env.AddMethod(DocbookEpub, "DocbookEpub")
      env.AddMethod(DocbookHtml, "DocbookHtml")
      env.AddMethod(DocbookHtmlChunked, "DocbookHtmlChunked")
      env.AddMethod(DocbookHtmlhelp, "DocbookHtmlhelp")
      env.AddMethod(DocbookPdf, "DocbookPdf")
      env.AddMethod(DocbookMan, "DocbookMan")
      env.AddMethod(DocbookSlidesPdf, "DocbookSlidesPdf")
      env.AddMethod(DocbookSlidesHtml, "DocbookSlidesHtml")
      env.AddMethod(DocbookXInclude, "DocbookXInclude")
      env.AddMethod(DocbookXslt, "DocbookXslt")
function_tokens: def generate ( env ) : env . SetDefault ( # Default names for customized XSL stylesheets DOCBOOK_DEFAULT_XSL_EPUB = '' , DOCBOOK_DEFAULT_XSL_HTML = '' , DOCBOOK_DEFAULT_XSL_HTMLCHUNKED = '' , DOCBOOK_DEFAULT_XSL_HTMLHELP = '' , DOCBOOK_DEFAULT_XSL_PDF = '' , DOCBOOK_DEFAULT_XSL_MAN = '' , DOCBOOK_DEFAULT_XSL_SLIDESPDF = '' , DOCBOOK_DEFAULT_XSL_SLIDESHTML = '' , # Paths to the detected executables DOCBOOK_XSLTPROC = '' , DOCBOOK_XMLLINT = '' , DOCBOOK_FOP = '' , # Additional flags for the text processors DOCBOOK_XSLTPROCFLAGS = SCons . Util . CLVar ( '' ) , DOCBOOK_XMLLINTFLAGS = SCons . Util . CLVar ( '' ) , DOCBOOK_FOPFLAGS = SCons . Util . CLVar ( '' ) , DOCBOOK_XSLTPROCPARAMS = SCons . Util . CLVar ( '' ) , # Default command lines for the detected executables DOCBOOK_XSLTPROCCOM = xsltproc_com [ 'xsltproc' ] , DOCBOOK_XMLLINTCOM = xmllint_com [ 'xmllint' ] , DOCBOOK_FOPCOM = fop_com [ 'fop' ] , # Screen output for the text processors DOCBOOK_XSLTPROCCOMSTR = None , DOCBOOK_XMLLINTCOMSTR = None , DOCBOOK_FOPCOMSTR = None , ) _detect ( env ) env . AddMethod ( DocbookEpub , "DocbookEpub" ) env . AddMethod ( DocbookHtml , "DocbookHtml" ) env . AddMethod ( DocbookHtmlChunked , "DocbookHtmlChunked" ) env . AddMethod ( DocbookHtmlhelp , "DocbookHtmlhelp" ) env . AddMethod ( DocbookPdf , "DocbookPdf" ) env . AddMethod ( DocbookMan , "DocbookMan" ) env . AddMethod ( DocbookSlidesPdf , "DocbookSlidesPdf" ) env . AddMethod ( DocbookSlidesHtml , "DocbookSlidesHtml" ) env . AddMethod ( DocbookXInclude , "DocbookXInclude" ) env . AddMethod ( DocbookXslt , "DocbookXslt" )