You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
|
|
|
|
.PHONY: thesis fast images dirs
|
|
|
|
|
|
|
|
# We don want to pollute the root dir, so we use a build dir
|
|
|
|
# http://tex.stackexchange.com/questions/12686/how-do-i-run-bibtex-after-using-the-output-directory-flag-with-pdflatex-when-f
|
|
|
|
thesis: dirs
|
|
|
|
xelatex -file-line-error -output-directory=build thesis.tex
|
|
|
|
cd build; bibtex thesis
|
|
|
|
xelatex -file-line-error -output-directory=build thesis.tex
|
|
|
|
xelatex -file-line-error -output-directory=build thesis.tex
|
|
|
|
cp build/thesis.pdf ./
|
|
|
|
|
|
|
|
fast: dirs
|
|
|
|
xelatex -file-line-error -output-directory=build thesis.tex
|
|
|
|
cd build; bibtex thesis
|
|
|
|
cp build/thesis.pdf ./
|
|
|
|
|
|
|
|
haltfast: dirs
|
|
|
|
xelatex -file-line-error -output-directory=build --halt-on-error thesis.tex
|
|
|
|
cd build; bibtex thesis
|
|
|
|
cp build/thesis.pdf ./
|
|
|
|
|
|
|
|
dirs:
|
|
|
|
mkdir -p build
|
|
|
|
mkdir -p build/notes
|
|
|
|
mkdir -p build/diagrams
|
|
|
|
cp references.bib build/
|