summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 56ea5c9..6b0332a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,7 @@
-all: samenvatting.pdf week*.pdf
+all: samenvatting.pdf $(subst .pdf,.tex,$(wildcard week*.pdf))
+
+samenvatting.pdf: samenvatting.tex $(wildcard samenvatting-*.tex)
+ xelatex $< && xelatex $<
%.pdf: %.tex
xelatex $< && xelatex $<