From: W. Trevor King Date: Sat, 14 May 2011 19:11:15 +0000 (-0400) Subject: Remove cruft from SCons generator bodies. X-Git-Tag: v1.0~289^2~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=859130b9a41320147b528325a4fb8cc51d1340f0;p=thesis.git Remove cruft from SCons generator bodies. --- diff --git a/site_cons/site_tools/asymptote.py b/site_cons/site_tools/asymptote.py index 9d7f2f4..dfbce65 100644 --- a/site_cons/site_tools/asymptote.py +++ b/site_cons/site_tools/asymptote.py @@ -80,14 +80,9 @@ def generate(env): global AsymptoteAction if AsymptoteAction is None: AsymptoteAction = SCons.Action.Action('$ASYMPTOTECOM', '$ASYMPTOTECOMSTR') - - #import pdf - #pdf.generate(env) - env['BUILDERS']['Asymptote'] = SCons.Script.Builder( action=AsymptoteAction, suffix='.tex', src_suffix = '.asy', emitter=asymptote_emitter) - env['ASYMPTOTE'] = 'asy' env['ASYMPTOTEFLAGS'] = SCons.Util.CLVar( '-tex pdflatex -inlineimage -inlinetex') diff --git a/site_cons/site_tools/gnuplot.py b/site_cons/site_tools/gnuplot.py index 20bd3e7..0cccf96 100644 --- a/site_cons/site_tools/gnuplot.py +++ b/site_cons/site_tools/gnuplot.py @@ -56,10 +56,6 @@ def generate(env): global GnuplotAction if GnuplotAction is None: GnuplotAction = SCons.Action.Action('$GNUPLOTCOM', '$GNUPLOTCOMSTR') - - #import pdf - #pdf.generate(env) - env['BUILDERS']['Gnuplot'] = SCons.Script.Builder( action=GnuplotAction, suffix='.pdf', src_suffix = '.gp') env['GNUPLOT'] = 'gnuplot'