dev-python/documentex: compile in batch mode
parent
de6bb6128a
commit
d9a622ae47
@ -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…
Reference in New Issue