summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGloria Mundi <gloria@gloria-mundi.eu>2024-11-16 01:24:14 +0100
committerGloria Mundi <gloria@gloria-mundi.eu>2024-11-16 01:24:14 +0100
commit98567ec798aa8ca2cfbcb85c774dd470f30e30d4 (patch)
tree5113d5cc24d1ad5f93810b6442ce584a36950dc8 /Makefile
parentad3856a6b766087df0036de0b556f4700a6498c9 (diff)
parent8d11c6c8213f46f0fa19826917c255edd5d43cb1 (diff)
mzuenni tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 060fe2e..02a5361 100644
--- a/Makefile
+++ b/Makefile
@@ -1,28 +1,26 @@
-
LATEXMK = latexmk -interaction=nonstopmode
tcr.pdf: FORCE
- $(LATEXMK) -pdf tcr
-
-pdf: tcr.pdf tcr-opt.pdf
+ cd content && $(LATEXMK)
tcr-opt.pdf: FORCE
- $(LATEXMK) -pdf -jobname=tcr-opt -usepretex="\def\OPTIONAL{}" tcr
+ cd content && $(LATEXMK) -r latexmk.opt
+
+pdf: tcr.pdf tcr-opt.pdf
all: pdf test
test:
- +gmake -f TestMakefile
+ +gmake -C test
clean: cleanpdf cleantest
cleanpdf:
- $(LATEXMK) -C tcr
- $(LATEXMK) -C -jobname=tcr-opt tcr
- rm -f *.thm
+ cd content && $(LATEXMK) -C
+ cd content && $(LATEXMK) -r latexmk.opt -C
cleantest:
- +-gmake -f TestMakefile cleantest
+ +-gmake -C clean
FORCE:
.PHONY: all pdf test clean cleanpdf cleantest FORCE