#This command deletes all files that are produced in the compilation process
#except for the final document pdf.
#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.pre $DOCUMENT_BASENAME.fdb_latexmk $DOCUMENT_BASENAME.out asymptote_files/$DOCUMENT_BASENAME*
#Individual auxiliary files are generated by input files and also need to
#be removed
rm -f *.aux