build.sh 390 B

12345678910111213141516
  1. #/bin/bash
  2. set -e
  3. if [ ! -e tmp ]; then
  4. mkdir tmp
  5. fi
  6. if [[ [$(uname) == "Linux"] || [$(uname) == "Darwin"] ]]; then
  7. LATEX="exlatex"
  8. else
  9. LATEX="pdflatex"
  10. fi
  11. echo "Building with "$LATEX
  12. "$LATEX" -output-directory tmp line-tpami
  13. bibtex tmp/line-tpami
  14. "$LATEX" -output-directory tmp -interaction=nonstopmode line-tpami
  15. "$LATEX" -output-directory tmp -interaction=nonstopmode line-tpami