20 lines
736 B
Makefile
20 lines
736 B
Makefile
|
|
.PHONY: thesis fast 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 Rational_Homotopy_Theory.tex
|
|
xelatex -file-line-error -output-directory=build Rational_Homotopy_Theory.tex
|
|
cp build/Rational_Homotopy_Theory.pdf ./
|
|
|
|
fast: dirs
|
|
xelatex -file-line-error -output-directory=build Rational_Homotopy_Theory.tex
|
|
cp build/Rational_Homotopy_Theory.pdf ./
|
|
|
|
haltfast: dirs
|
|
xelatex -file-line-error -output-directory=build --halt-on-error Rational_Homotopy_Theory.tex
|
|
cp build/Rational_Homotopy_Theory.pdf ./
|
|
|
|
dirs:
|
|
mkdir -p build
|