summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b394dea..44cb223 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,14 @@ TARGET=$(subst .tex,.pdf,$(wildcard opdracht*/opdracht*.tex) paper/paper.tex)
all: $(TARGET)
+paper/paper.pdf: paper/paper*.tex paper/paper.bib
+ cd paper && \
+ pdflatex -shell-escape paper && \
+ bibtex paper.aux && \
+ pdflatex -shell-escape paper && \
+ pdflatex -shell-escape paper && \
+ cd ..
+
%.pdf : %.tex
cd `dirname $<` && \
pdflatex -shell-escape `basename $<` && \