cryptoparty/presentation.sh

9 lines
295 B
Bash
Raw Normal View History

2018-05-29 00:12:20 +00:00
#!/bin/sh
cd `dirname "$0"`
NAME=`basename "$0" .sh`
pdflatex "$NAME.tex" &&
(test -x "$NAME.nlo" && makeindex "$NAME.nlo" -s nomencl.ist -o "$NAME.nls" || true) &&
pdflatex "$NAME.tex" &&
pdflatex "$NAME.tex"
find . -name "$NAME*" ! \( -name '*tex' -or -name '*pdf' -or -name '*sh' \) -delete