gdritter repos chalcedony-playbooks / 166aad2
Added redo script Getty Ritter 6 years ago
1 changed file(s) with 8 addition(s) and 0 deletion(s). Collapse all Expand all
1 #!/bin/bash -e
2
3 echo $1 $2 $3
4 TMPDIR="$(mktemp -d)"
5 redo-ifchange "$1.tex"
6 xelatex -output-directory="${TMPDIR}" "$1.tex"
7 mv "${TMPDIR}/$1.pdf" "$3"
8 rm -rf "${TMPDIR}"