Misc fixes from own review.
[matthijs/master-project/report.git] / SConstruct
index a05a298..2b6fc67 100644 (file)
@@ -19,7 +19,8 @@ if ARGUMENTS.get('once'):
 else:
        once = ''
 
-contextBuilder = Builder(action='nice texexec --lua $SOURCE%s' % once,
+# Limit to 500MB of virtual memory
+contextBuilder = Builder(action='ulimit -v 512000; nice texexec --lua $SOURCE%s' % once,
                          suffix='.pdf',
                          src_suffix='.tex')
 env.Append(BUILDERS={'Context': contextBuilder})
@@ -42,6 +43,7 @@ report = env.Context('Report')
 Depends(report, glob.glob('pret-*.lua'))
 Depends(report, glob.glob('Chapters/*.tex'))
 Depends(report, glob.glob('Utils/*.tex'))
+Depends(report, glob.glob('Titlepage.tex'))
 
 AddPostAction(report, 'scp $TARGET ewi:')