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

66
.gitignore vendored
View File

@ -1,8 +1,58 @@
*.aux
*.html
*.out
*.gz
*.tex
*.toc
*_files/
.ipynb_checkpoints/
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
# C extensions
*.so
# Distribution / packaging
.Python
env/
bin/
build/
develop-eggs/
dist/
eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
.ipynb_checkpoints/
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.cache
nosetests.xml
coverage.xml
# Translations
*.mo
# Mr Developer
.mr.developer.cfg
.project
.pydevproject
# Rope
.ropeproject
# Django stuff:
*.log
*.pot
# Sphinx documentation
docs/_build/
# back ups
*.*~
*.zedstate

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