#This command deletes all files that are produced in the compilation process
#except for the final document pdf and the asymptote-generated pdf files.
#Because it does not remove the latter graphics files this is a "light"
#cleaning.  One can run the light compile (compilel.sh) after this command
#and the document can be created.  (This is convenient if you wish to give
#the document to someone who does not have asymptote installed.)
#
#Put the document name here.
DOCUMENT_BASENAME="calculus_I"
#Remove all files with the document name
rm -f $DOCUMENT_BASENAME.aux $DOCUMENT_BASENAME.log $DOCUMENT_BASENAME.toc $DOCUMENT_BASENAME.ans $DOCUMENT_BASENAME.fdb_latexmk $DOCUMENT_BASENAME.out
#Individual auxiliary files are generated by input files and also need to
#be removed
rm -f *.aux