Add a haskell pretty printer.
[matthijs/master-project/report.git] / SConstruct
index d10244d..3411e32 100644 (file)
@@ -12,7 +12,7 @@ DEFAULT_TARGET = 'Report.pdf'
 env = Environment()
 
 ## Context MkIV Builder:
-contextBuilder = Builder(action=['texexec --lua $SOURCE','scp $TARGET ewi:'],
+contextBuilder = Builder(action='texexec --lua $SOURCE',
                          suffix='.pdf',
                          src_suffix='.tex')
 env.Append(BUILDERS={'Context': contextBuilder})
@@ -34,10 +34,13 @@ Depends(core2core, 'pret-trans.lua')
 report = env.Context('Report')
 Depends(report, 'pret-lam.lua')
 Depends(report, 'pret-trans.lua')
+Depends(report, 'pret-haskell.lua')
 Depends(report, 'Chapters/State.tex')
 Depends(report, 'Utils/Fonts.tex')
 Depends(report, 'Utils/Formats.tex')
 Depends(report, 'Utils/Lambda.tex')
 Depends(report, 'Utils/Shortcuts.tex')
 
+AddPostAction(report, 'scp $TARGET ewi:')
+
 Default(DEFAULT_TARGET)