I got the order of the arguments wrong in a Clean() call I added to help fix teh
authormanagan <managan@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 7 Jan 2010 17:04:14 +0000 (17:04 +0000)
committermanagan <managan@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 7 Jan 2010 17:04:14 +0000 (17:04 +0000)
auxiliary file problem.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4597 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/engine/SCons/Tool/tex.py

index b1ba745aaf1bbb334e041f39625ddc3bd7c6e308..11e06bfc33472a69af6d0fe0abdba018543ddb20 100644 (file)
@@ -677,7 +677,7 @@ def tex_emitter_core(target, source, env, graphics_extensions):
         env.SideEffect(aFile_base + '.aux',target[0])
         if Verbose:
             print "side effect :",aFile_base + '.aux'
-        env.Clean(aFile_base + '.aux',target[0])
+        env.Clean(target[0],aFile_base + '.aux')
     # read fls file to get all other files that latex creates and will read on the next pass
     # remove files from list that we explicitly dealt with above
     if os.path.exists(flsfilename):