cours-m1-eea/compile.sh
Pierre-antoine Comby c4be4a489c reduce verbosity
2019-01-23 16:20:57 +01:00

9 lines
309 B
Bash
Executable file

#!/bin/bash
# Pour compiler tous les fichiers sources du dépot:
find . -name "main.tex" -execdir sh -c " pwd && latexmk {} -pdf main.tex -e '$latex=q/latex %O -shell-escape %S/' -quiet | grep 'Latexmk'" \;
#clean up :
shopt -s globstar
rm -f **/*.aux **/*.log **/*.out **/*.fls **/*.fdb_latexmk **/*.toc