diff options
author | Robert Managan <managan1@llnl.gov> | 2008-11-12 21:36:07 (GMT) |
---|---|---|
committer | Robert Managan <managan1@llnl.gov> | 2008-11-12 21:36:07 (GMT) |
commit | 3f7bc781d03167666cd6e4d40ea351b4bb66f7e4 (patch) | |
tree | e7cc2da57fc95f2d41461ab1afa868b84647a27f /src/engine/SCons/Tool/tex.py | |
parent | 15db335ece77ada6b53c75266d1b9d6f0d2c7c5b (diff) | |
download | SCons-3f7bc781d03167666cd6e4d40ea351b4bb66f7e4.zip SCons-3f7bc781d03167666cd6e4d40ea351b4bb66f7e4.tar.gz SCons-3f7bc781d03167666cd6e4d40ea351b4bb66f7e4.tar.bz2 |
I found that my coding for automatically building .pdf files from .eps files
failed when the .tex file is in a subdirectory.
I added a new test and made the one line fix.
Diffstat (limited to 'src/engine/SCons/Tool/tex.py')
-rw-r--r-- | src/engine/SCons/Tool/tex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/tex.py b/src/engine/SCons/Tool/tex.py index c285d3b..6037431 100644 --- a/src/engine/SCons/Tool/tex.py +++ b/src/engine/SCons/Tool/tex.py @@ -441,7 +441,7 @@ def ScanFiles(theFile, target, paths, file_tests, file_tests_search, env, graphi if graphicSrc != None: if Verbose and (graphicNode == None): print "need to build '%s' by epstopdf %s -o %s" % (graphFile,graphicSrc,graphFile) - graphicNode = env.PDF(os.path.join(targetdir,str(graphicSrc))) + graphicNode = env.PDF(graphicSrc) env.Depends(target[0],graphicNode) # recursively call this on each of the included files |