summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Scanner
diff options
context:
space:
mode:
authorRobert Managan <managan1@llnl.gov>2010-08-23 19:56:12 (GMT)
committerRobert Managan <managan1@llnl.gov>2010-08-23 19:56:12 (GMT)
commit06a72d788b7695cfc6a6e53e9d3808a12d929b9d (patch)
tree522ba138b12a47787d7aced37508e9675369a1f6 /src/engine/SCons/Scanner
parentd178e9ef75dfb030f4ab3dc4af76e51ad2b3549d (diff)
downloadSCons-06a72d788b7695cfc6a6e53e9d3808a12d929b9d.zip
SCons-06a72d788b7695cfc6a6e53e9d3808a12d929b9d.tar.gz
SCons-06a72d788b7695cfc6a6e53e9d3808a12d929b9d.tar.bz2
I had to add the INDEXSTYLES environment variable to the code
so the user can define a path to look for makeindex style files. When the latex files are generated by another builder the user may have to define env['TEXINPUTS'] or some of the other environment variables so latex can find files that are not sideeffects. This woul dinclude style files and the like.
Diffstat (limited to 'src/engine/SCons/Scanner')
-rw-r--r--src/engine/SCons/Scanner/LaTeX.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/SCons/Scanner/LaTeX.py b/src/engine/SCons/Scanner/LaTeX.py
index b8d48b1..2f0b263 100644
--- a/src/engine/SCons/Scanner/LaTeX.py
+++ b/src/engine/SCons/Scanner/LaTeX.py
@@ -148,6 +148,8 @@ class LaTeX(SCons.Scanner.Base):
env['TEXINPUTS'] for "lstinputlisting" keyword
env['BIBINPUTS'] for "bibliography" keyword
env['BSTINPUTS'] for "bibliographystyle" keyword
+ env['INDEXSTYLE'] for "makeindex" keyword, no scanning support needed
+ just allows user to set it if needed.
FIXME: also look for the class or style in document[class|style]{}
FIXME: also look for the argument of bibliographystyle{}
@@ -157,6 +159,7 @@ class LaTeX(SCons.Scanner.Base):
'includegraphics': 'TEXINPUTS',
'bibliography': 'BIBINPUTS',
'bibliographystyle': 'BSTINPUTS',
+ 'makeindex': 'INDEXSTYLE',
'usepackage': 'TEXINPUTS',
'lstinputlisting': 'TEXINPUTS'}
env_variables = SCons.Util.unique(list(keyword_paths.values()))