diff options
Diffstat (limited to 'third_party/scons/scons-local/SCons/Tool/pdftex.py')
-rw-r--r-- | third_party/scons/scons-local/SCons/Tool/pdftex.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/third_party/scons/scons-local/SCons/Tool/pdftex.py b/third_party/scons/scons-local/SCons/Tool/pdftex.py index 7196a91..2a5bfcc 100644 --- a/third_party/scons/scons-local/SCons/Tool/pdftex.py +++ b/third_party/scons/scons-local/SCons/Tool/pdftex.py @@ -31,7 +31,7 @@ selection method. # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -__revision__ = "src/engine/SCons/Tool/pdftex.py 3603 2008/10/10 05:46:45 scons" +__revision__ = "src/engine/SCons/Tool/pdftex.py 3842 2008/12/20 22:59:52 scons" import SCons.Action import SCons.Util @@ -79,7 +79,11 @@ def generate(env): bld = env['BUILDERS']['PDF'] bld.add_action('.tex', PDFTeXLaTeXAction) - bld.add_emitter('.tex', SCons.Tool.tex.tex_emitter) + bld.add_emitter('.tex', SCons.Tool.tex.tex_pdf_emitter) + + # Add the epstopdf builder after the pdftex builder + # so pdftex is the default for no source suffix + pdf.generate2(env) env['PDFTEX'] = 'pdftex' env['PDFTEXFLAGS'] = SCons.Util.CLVar('-interaction=nonstopmode') |