summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/pdflatex.py
diff options
context:
space:
mode:
authorRobert Managan <managan1@llnl.gov>2008-09-04 22:30:55 (GMT)
committerRobert Managan <managan1@llnl.gov>2008-09-04 22:30:55 (GMT)
commit6fbb44b7d5934ee36244049bfea68d44de968a86 (patch)
treecd48d228098e677f5d25ebea2cd5b6cc9a2cc7ed /src/engine/SCons/Tool/pdflatex.py
parent6a4d9df86030463c35d40e1a314721eb546fb84e (diff)
downloadSCons-6fbb44b7d5934ee36244049bfea68d44de968a86.zip
SCons-6fbb44b7d5934ee36244049bfea68d44de968a86.tar.gz
SCons-6fbb44b7d5934ee36244049bfea68d44de968a86.tar.bz2
Pass the results of the InternalLaTeXAuxAction back up the call chain
in teh various tex builders. This allows the user to interrupt the build which was not working before. It also allows configuration tests to work since now they can tell if there was failure in a test. The result from the internal MakeIndexAction and BibtexAction are checked as well and control returned if there was an error in one of those. This is to avoid repeatedly running commands until we hit the retry limit. I added no test for this simce I am unsure how to test for user interrupts. Also unclear how to test for how many times the internal actions were run during a test to see if it returns on teh first error!
Diffstat (limited to 'src/engine/SCons/Tool/pdflatex.py')
-rw-r--r--src/engine/SCons/Tool/pdflatex.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/pdflatex.py b/src/engine/SCons/Tool/pdflatex.py
index b8a7736..91868ef 100644
--- a/src/engine/SCons/Tool/pdflatex.py
+++ b/src/engine/SCons/Tool/pdflatex.py
@@ -41,7 +41,8 @@ import SCons.Tool.tex
PDFLaTeXAction = None
def PDFLaTeXAuxFunction(target = None, source= None, env=None):
- SCons.Tool.tex.InternalLaTeXAuxAction( PDFLaTeXAction, target, source, env )
+ result = SCons.Tool.tex.InternalLaTeXAuxAction( PDFLaTeXAction, target, source, env )
+ return result
PDFLaTeXAuxAction = None