Remove cruft from SCons generator bodies.
authorW. Trevor King <wking@drexel.edu>
Sat, 14 May 2011 19:11:15 +0000 (15:11 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 14 May 2011 19:11:15 +0000 (15:11 -0400)
site_cons/site_tools/asymptote.py
site_cons/site_tools/gnuplot.py

index 9d7f2f4c8b09d4150ff792d78717ca34a8e18d4c..dfbce65c756201c75658041a75f5fc6d1b2e20d4 100644 (file)
@@ -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')
index 20bd3e723eb61e23779d5e3bb88f117477bacfd7..0cccf96aed2b8dbd70af025ff6f73a5c28b3b40b 100644 (file)
@@ -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'