#NEWLINE# def generate( env ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# env [ 'BUILDERS' ] [ 'PDF' ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# global PDFBuilder #NEWLINE# if ( PDFBuilder is None ) : #NEWLINE# #INDENT# PDFBuilder = SCons . Builder . Builder ( action = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , source_scanner = SCons . Tool . PDFLaTeXScanner , prefix = '$PDFPREFIX' , suffix = '$PDFSUFFIX' , emitter = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , source_ext_match = None , single_source = True ) #NEWLINE# #UNINDENT# env [ 'BUILDERS' ] [ 'PDF' ] = PDFBuilder #NEWLINE# #UNINDENT# env [ 'PDFPREFIX' ] = '' #NEWLINE# env [ 'PDFSUFFIX' ] = '.pdf'