General ⇒ why use scons or make?
why use scons or make?
I am about to start writing a thesis. I was looking online for some sample latex layouts and I see many people have fancy makefiles and scons files for doing the compilation.
I am confused. Why do I need these if I am simply using pdflatex and include/input commands to structure my document? Anything significantly important about doing it with scons/make?
Thanks
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: why use scons or make?
I can’t think of any reason you’d need any such thing, unless you were really doing something fancy.
why use scons or make?
The makefile groups everything together, was a bit of an academic exercise, and makes my life easier, especially as I transfer the entire thesis directory between home and work computers. Part of the makefile runs latex as many times as is required to resolve all internal references so it also adds some automation. It seems to be working as expected so far

If I have altered many chapter files and figures, I can now simply type
Code: Select all
make pdf
Code: Select all
latex file
bibtex file
latex file
latex file
dvips [options] file.dvi -o
ps2pdf [options] file.ps
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: why use scons or make?
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10