cours-m1-eea/compile.sh
Pierre-antoine Comby 68b65a3fa8 rm compile file
2019-01-28 13:08:42 +01:00

10 lines
310 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