diff options
author | Robert Managan <managan1@llnl.gov> | 2010-08-19 06:26:35 (GMT) |
---|---|---|
committer | Robert Managan <managan1@llnl.gov> | 2010-08-19 06:26:35 (GMT) |
commit | 2407926c5943b952a843551c10ac61cb42a2b0ab (patch) | |
tree | 150fed344939f71409068ee9642fb89a6ea8ed21 /src/engine/SCons/Tool | |
parent | 041af14090ac5c290ae3f814cc3c25f9c73ab527 (diff) | |
download | SCons-2407926c5943b952a843551c10ac61cb42a2b0ab.zip SCons-2407926c5943b952a843551c10ac61cb42a2b0ab.tar.gz SCons-2407926c5943b952a843551c10ac61cb42a2b0ab.tar.bz2 |
WHen checking the .tex file for which side effects it generates always
add them if the .tex file is generated by another builder and is
not yet created.
If the file exists then only add the side effects if they will be created.
Diffstat (limited to 'src/engine/SCons/Tool')
-rw-r--r-- | src/engine/SCons/Tool/tex.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/tex.py b/src/engine/SCons/Tool/tex.py index 37881bb..a4da98e 100644 --- a/src/engine/SCons/Tool/tex.py +++ b/src/engine/SCons/Tool/tex.py @@ -668,7 +668,8 @@ def tex_emitter_core(target, source, env, graphics_extensions): file_tests = ScanFiles(source[0], target, paths, file_tests, file_tests_search, env, graphics_extensions, targetdir, aux_files) for (theSearch,suffix_list) in file_tests: - if theSearch: + # add side effects if feature is present.If file is to be generated,add all side effects + if (theSearch != None) or (not source[0].exists() ): for suffix in suffix_list: env.SideEffect(targetbase + suffix,target[0]) if Verbose: |