dev-python/documentex: compile in batch mode

DavidD 3 years ago
parent de6bb6128a
commit d9a622ae47

@ -11,7 +11,7 @@ string = ""
endif
main.pdf: main.tex \VAR{ tex_file } Utils/*
$(compilateur) $(string) main.tex && $(compilateur) $(string) main.tex
$(compilateur) -interaction batchmode $(string) main.tex && $(compilateur) -interaction batchmode $(string) main.tex
.PHONY : clean

@ -0,0 +1,19 @@
ifdef utf
compilateur = xelatex
else
compilateur = pdflatex
endif
ifdef sol
string = "\def\SOL{}\input{main.tex}"
else
string = ""
endif
main.pdf: main.tex \VAR{ tex_file } Utils/*
$(compilateur) $(string) main.tex && $(compilateur) $(string) main.tex
.PHONY : clean
clean:
rm -rf *.log *.aux *.toc *.pdf
Loading…
Cancel
Save