diff options
| author | Luke Hsiao <lwhsiao@stanford.edu> | 2019-12-09 11:10:25 -0800 |
|---|---|---|
| committer | Luke Hsiao <lwhsiao@stanford.edu> | 2019-12-09 11:10:25 -0800 |
| commit | e6b0886fe71cbbd81a709dbc2e0535422bb257d4 (patch) | |
| tree | 8d5fec3b7088a920027b96854656fbdfbbf1931a | |
| parent | f6364226c7551acebc4ce907121584d342b44463 (diff) | |
| download | latex-cal-e6b0886fe71cbbd81a709dbc2e0535422bb257d4.tar.gz latex-cal-e6b0886fe71cbbd81a709dbc2e0535422bb257d4.tar.zst latex-cal-e6b0886fe71cbbd81a709dbc2e0535422bb257d4.zip | |
build(Makefile): use tectonic to build
This also fixes the Makefile rules to actually trigger only when
necessary.
| -rw-r--r-- | Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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 |
