Skip to content

Commit

Permalink
Minor improvement to the SCons script for building examples automatic…
Browse files Browse the repository at this point in the history
…ally.
  • Loading branch information
fredqi committed Nov 27, 2014
1 parent a173741 commit c1b45a7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions examples/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@
## ----------------------------------------------------------------------
### CHANGE LOG
## ----------------------------------------------------------------------
## Last-Updated: 2012-12-11 21:28:17(+0800) [by Fred Qi]
## Update #: 24
## Last-Updated: 2014-11-27 13:09:37(+0300) [by Fred Qi]
## Update #: 28
## ----------------------------------------------------------------------

import os

env = Environment( ENV = os.environ,
PDFLATEX = 'xelatex' )
env = Environment(ENV = os.environ,
PDFLATEX = 'xelatex')

tmpl = Glob( 'xdthesis.c*' )
tmpl = Glob( 'xduthesis.c*' )

pdf = env.PDF( Glob( 'thesis-*.tex' ) )
Depends( pdf, [ 'abstract.tex', 'refs.bib' ] )
Depends( pdf, Glob( 'ch*.tex' ) )
pdf = env.PDF(Glob('thesis-*.tex'))
Depends(pdf, ['abstract.tex', 'refs.bib'])
Depends(pdf, Glob('ch*.tex'))

## ----------------------------------------------------------------------
### END OF FILE
Expand Down

0 comments on commit c1b45a7

Please sign in to comment.