-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
executable file
·20 lines (16 loc) · 998 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
compile:
./\!deploy/compile_all.sh
help:
@echo 'Makefile for automatic LaTeX compilation '
@echo ' '
@echo 'Usage: '
@echo ' make compile generate all files '
@echo ' make build generate all files (for travis) '
@echo ' '
build:
# sudo docker run -it -v $(BASEDIR):/var/texlive texlive sh -c "latexmk -pdflatex="xelatex --shell-escape %O %S" -pdf -dvi- -ps- -cd -f -interaction=nonstopmode $(TEXFILE)"
echo '\\tikzexternaldisable' >> \!config/mitschrift_headings.tex
# cat \!config/mitschrift_headings.tex
echo '\\tikzexternaldisable' >> \!config/PhistScript.tex
docker run -it --rm -v $(CURDIR):/var/texlive texlive sh -c "./\!deploy/compile_all.sh"
.PHONY: compile help build