Build the pdf only once each time.
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 2 Dec 2009 12:33:41 +0000 (13:33 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 2 Dec 2009 12:33:41 +0000 (13:33 +0100)
This might leave incorrect references, but speeds up the process.

SConstruct

index fccd78a..b4895e8 100644 (file)
@@ -13,7 +13,7 @@ DEFAULT_TARGET = 'Report.pdf'
 env = Environment()
 
 ## Context MkIV Builder:
-contextBuilder = Builder(action='nice texexec --lua $SOURCE',
+contextBuilder = Builder(action='nice texexec --lua $SOURCE --once',
                          suffix='.pdf',
                          src_suffix='.tex')
 env.Append(BUILDERS={'Context': contextBuilder})