Added a strfunction to the various tex builders. Since the sub-actions report
authormanagan <managan@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 4 Sep 2008 18:05:49 +0000 (18:05 +0000)
committermanagan <managan@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 4 Sep 2008 18:05:49 +0000 (18:05 +0000)
commit2132f8a1aceb624ab3c45dd0cb063600e1d61d49
tree5fcab134f7685c3c589cd2b701d811b6cbc12131
parentc3baca5b44f18cd5dc972fc23eef29a70b313c10
Added a strfunction to the various tex builders. Since the sub-actions report
their commands as they build the strfunction only returns a string for
GetOption("no_exec") which covers --dry-run.
Therefore --dry-run now gets output, the first command to be run plus " ..."
to indicate that the ral builder may repeat or run bibtex, makeindex,...

Also updating the flags to pass -interaction=nonstopmode
This prevents errors in the .tex files from stopping the build
while Latex asks for input.

Updated several tests to handle this new flag by switching to getopt module

git-svn-id: http://scons.tigris.org/svn/scons/trunk@3338 fdb21ef1-2011-0410-befe-b5e4ea1792b1
13 files changed:
src/engine/SCons/Tool/latex.py
src/engine/SCons/Tool/pdflatex.py
src/engine/SCons/Tool/pdftex.py
src/engine/SCons/Tool/tex.py
test/DVIPDF/DVIPDF.py
test/DVIPDF/DVIPDFFLAGS.py
test/DVIPS/DVIPS.py
test/DVIPS/DVIPSFLAGS.py
test/TEX/LATEX.py
test/TEX/PDFLATEX.py
test/TEX/PDFTEX.py
test/TEX/TEX.py
test/TEX/dryrun.py [new file with mode: 0644]