OSDN Git Service

as txt2tags can not be run in parallel, make sure scons doesn't try, by making all...
authorMichael Curran <mick@kulgan.net>
Mon, 15 Nov 2010 03:46:20 +0000 (13:46 +1000)
committerMichael Curran <mick@kulgan.net>
Mon, 15 Nov 2010 03:46:20 +0000 (13:46 +1000)
sconstruct

index a755232..8fd7c92 100755 (executable)
@@ -118,7 +118,9 @@ for lang in os.listdir(userDocsDir.path):
 #Allow all t2t files to be converted to html in user_docs\r
 #As we use scons Glob this will also include the keyCommands.t2t files\r
 for t2tFile in env.Glob(os.path.join(userDocsDir.path,'*','*.t2t')):\r
-       env.txt2tags(t2tFile)\r
+       #txt2tags can not be run in parallel so make sure scons knows this\r
+       htmlFile=env.txt2tags(t2tFile)\r
+       env.SideEffect('_txt2tags',htmlFile)\r
 \r
 env.Depends(sourceDir,userDocsDir)\r
 \r