From a2e3fda19dcda056cc3fdf3c417f146b45fdcbd2 Mon Sep 17 00:00:00 2001 From: Michael Curran Date: Mon, 15 Nov 2010 13:46:20 +1000 Subject: [PATCH] as txt2tags can not be run in parallel, make sure scons doesn't try, by making all the txt2tags target nodes share a fake side effect. --- sconstruct | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sconstruct b/sconstruct index a755232af..8fd7c925c 100755 --- a/sconstruct +++ b/sconstruct @@ -118,7 +118,9 @@ for lang in os.listdir(userDocsDir.path): #Allow all t2t files to be converted to html in user_docs #As we use scons Glob this will also include the keyCommands.t2t files for t2tFile in env.Glob(os.path.join(userDocsDir.path,'*','*.t2t')): - env.txt2tags(t2tFile) + #txt2tags can not be run in parallel so make sure scons knows this + htmlFile=env.txt2tags(t2tFile) + env.SideEffect('_txt2tags',htmlFile) env.Depends(sourceDir,userDocsDir) -- 2.11.0