make: add Makefiles
This commit is contained in:
parent
7ca4207eca
commit
e0b636664d
4 changed files with 29 additions and 3 deletions
13
tech-doc/Makefile
Normal file
13
tech-doc/Makefile
Normal file
|
@ -0,0 +1,13 @@
|
|||
.PHONY: all clean
|
||||
|
||||
OUTPUT += tech-spec.pdf
|
||||
|
||||
all: $(OUTPUT)
|
||||
|
||||
%.pdf: %.tex
|
||||
latexmk -pdf -xelatex -cd -latexoption="--shell-escape" -use-make -jobname="$*" $<
|
||||
|
||||
clean:
|
||||
for f in $(basename $(OUTPUT)); do \
|
||||
latexmk -CA -xelatex -cd -jobname=$$f; \
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue