aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5f3d94d
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,21 @@
+# Build thesis, copy it to the appropiate deliverable name too.
+# Yes, pdflatex needs to run twice (sometimes even three times?).
+# https://www.learnlatex.org/en/lesson-12
+
+# Supposedly `xelatex` is an improved version of `pdflatex` that supports
+# unicode. But I'm having trouble with it, seems like it can't find the
+# appropiate fonts.
+
+DELIVERABLE="20170895_RobertoTokumori_PatriciaNatividad_E1.pdf"
+
+.PHONY: all
+all: thesis.bib
+ pdflatex thesis.tex
+ biber thesis
+ pdflatex thesis.tex
+ cp thesis.pdf $(DELIVERABLE)
+
+.PHONY: clean
+clean:
+ rm *.aux *.bbl *.bcf *.blg *.out *.run.xml *.toc thesis.log \
+ chapter/*.aux