summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCamil Staps2016-05-09 19:56:07 +0200
committerCamil Staps2016-05-09 19:56:07 +0200
commitfb42c4151ee4111b452afaae66ec8f877e0faa3d (patch)
tree039634cda02cc323dc164899662a8c0f7fc908a7 /Makefile
parentopdracht 5 & 6 (diff)
Makefile: bibtex may fail
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8bb9d66..3742337 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+SHELL=bash
TARGET=$(subst .tex,.pdf,$(wildcard */*.tex))
all: $(TARGET)
@@ -5,7 +6,7 @@ all: $(TARGET)
%.pdf : %.tex
cd `dirname $<` && \
pdflatex -shell-escape `basename $<` && \
- bibtex `basename -s .tex $<`.aux && \
+ bibtex `basename -s .tex $<`.aux; \
pdflatex -shell-escape `basename $<` && \
pdflatex -shell-escape `basename $<` && \
cd ..