diff options
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 $<` && \ |