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 fccd78ace7fbb18d69d4691f7a69148b41c24967..b4895e86f28ad511cbdc216415cad622a31f047a 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})