thesis/SConstruct

11 lines
291 B
Python

import os
env = Environment(ENV=os.environ)
fn = "NuwanYapa-thesis"
chapters = Glob("Chapter-*/Chapter-*.tex") + Glob("Appendix-*/Appendix-*.tex")
print chapters
pdfOutput = env.PDF(target=fn+'.pdf',source=fn+'.tex')
Depends(pdfOutput,[fn+'.tex', fn+'.bib', 'ncsuthesis.cls'] + chapters)