summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCamil Staps2016-05-09 19:50:13 +0200
committerCamil Staps2016-05-09 19:50:13 +0200
commitaa426ef109371a850a495e5edeb92027ef09e985 (patch)
tree11b69d0bb2ba8370e7f9813203e2dcae045ea7b5 /Makefile
parentFeedback opdracht 3 (= opdracht 4) (diff)
opdracht 5 & 6
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e13cc58..8bb9d66 100644
--- a/Makefile
+++ b/Makefile
@@ -3,5 +3,10 @@ TARGET=$(subst .tex,.pdf,$(wildcard */*.tex))
all: $(TARGET)
%.pdf : %.tex
- cd `dirname $<` && pdflatex -shell-escape `basename $<` && pdflatex -shell-escape `basename $<` && cd ..
+ cd `dirname $<` && \
+ pdflatex -shell-escape `basename $<` && \
+ bibtex `basename -s .tex $<`.aux && \
+ pdflatex -shell-escape `basename $<` && \
+ pdflatex -shell-escape `basename $<` && \
+ cd ..