summaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 8b80dff..610484e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,11 @@
SRC=$(wildcard *.tex)
PDF=$(SRC:.tex=.pdf)
-all: $(PDF)
-%.pdf: %.tex
- latexmk -outdir=build --pdf $<
- latexmk -outdir=build -c
- write-good $< || true
-clean: ; latexmk -outdir=build -C; rm -f build/*.bbl
+all: build/$(PDF)
+build/%.pdf: %.tex
+ tectonic -o build/ $<
+
+clean:
+ rm -f build/*.pdf
+
+.PHONY: clean