modified script to clean the left over files from building the PDF.

This commit is contained in:
Roger Labbe
2014-05-29 09:45:28 -07:00
parent 9fdb649396
commit feb3fa8bc7
2 changed files with 71 additions and 12 deletions

View File

@@ -1,5 +1,14 @@
#! /bin/bash
rm *.tex
rm *.toc
rm ./*_files/*.png
rmdir ./*_files/
rm --f *.tex
rm --f *.toc
rm --f ./*_files/*.png
rm --f Kalman_and_Bayesian_Filters_in_Python.ipynb
rm --f Kalman_and_Bayesian_Filters_in_Python.toc
rm --f Kalman_and_Bayesian_Filters_in_Python.tex
rmdir ./*_files/ 2> /dev/null
if (( $# == 1)); then
if [ "@1" == all ]; then
rm Kalman_and_Bayesian_Filters_in_Python.pdf;
fi
fi