From: Matthijs Kooijman Date: Tue, 25 Aug 2009 14:48:34 +0000 (+0200) Subject: Make Report use globbing for dependencies. X-Git-Tag: final-thesis~298 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=00c021ee84afe5e9271a59e0ccc22311406555ea;p=matthijs%2Fmaster-project%2Freport.git Make Report use globbing for dependencies. Report now depends on all Chapters, all Utils and all local pretty printers. --- diff --git a/SConstruct b/SConstruct index 3411e32..67f1feb 100644 --- a/SConstruct +++ b/SConstruct @@ -3,6 +3,7 @@ # import os import os.path +import glob #### Some configurations. @@ -32,14 +33,9 @@ Depends(core2core, 'pret-trans.lua') ## Report 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') +Depends(report, glob.glob('pret-*.lua') +Depends(report, glob.glob('Chapters/*.tex')) +Depends(report, glob.glob('Utils/*.tex')) AddPostAction(report, 'scp $TARGET ewi:')