cours-m1-eea/compile.sh

10 lines
309 B
Bash
Raw Normal View History

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