hpcs-17-subord

git clone https://git.igankevich.com/hpcs-17-subord.git
Log | Files | Refs

commit 442f184ef0ab69acc9653c333969d9f466258809
parent b644adfed9aa506664729123e844629679dda1bf
Author: Ivan Gankevich <i.gankevich@spbu.ru>
Date:   Wed, 11 Dec 2019 14:56:34 +0300

latexmk

Diffstat:
Makefile | 32+++++++++++++++++---------------
1 file changed, 17 insertions(+), 15 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,3 +1,18 @@ +LATEXMK = env max_print_line=1000 texfot \ + --no-stderr --quiet \ + --ignore '.*This is XeTeX, Version.*' \ + --ignore '.*Output written on.*' \ + latexmk + +FLAGS = \ + -8bit \ + -interaction=nonstopmode \ + -output-directory=build \ + -pdf \ + -xelatex \ + -bibtex \ + -shell-escape + build/main.pdf: *.tex *.bib bib/* build src/* tex/* dot/* \ build/ppl.pdf \ build/test-1-phys.pdf \ @@ -5,21 +20,8 @@ build/test-1-virt.pdf \ build/test-2-phys.pdf \ build/test-2-virt.pdf \ build/graph.eps - latexmk \ - -interaction=nonstopmode \ - -output-directory=build \ - -pdf \ - -bibtex \ - -shell-escape \ - -f main.tex - latexmk \ - -interaction=nonstopmode \ - -output-directory=build \ - -xelatex \ - -pdf \ - -bibtex \ - -shell-escape \ - -f slides.tex + @-$(LATEXMK) $(FLAGS) -f main.tex + @-$(LATEXMK) $(FLAGS) -f slides.tex build/test-1-phys.pdf: R/test-1.R R/common.R Rscript ./R/test-1.R data/test-1-phys $@