X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/book_gpu.git/blobdiff_plain/6f31b862f879417ba764d85798f4ce9197c6cfe6..e9bec782df9908a1d94ab5629dbe7710293019bd:/BookGPU/Makefile

diff --git a/BookGPU/Makefile b/BookGPU/Makefile
index 22e9fd7..401df60 100644
--- a/BookGPU/Makefile
+++ b/BookGPU/Makefile
@@ -31,8 +31,12 @@ all:
 	makeindex  ${BOOK}.idx
 	pdflatex ${BOOK}
 	pdflatex ${BOOK}
+	cp BookGPU.toc_new  BookGPU.toc   #copy the corrected toc
+
+	pdflatex ${BOOK}
 #	dvipdf ${BOOK}
 
 clean:
-	rm -rf *~ *.aux *.bbl *.blg *.dvi *.lon *.not *.lof *.log *.lot *.toc *.ind *.idx *.ilg 
+	rm -rf *~ *.aux *.bbl *.blg *.dvi *.lon *.not *.lof *.log *.lot *.toc *.ind *.idx *.ilg *.aux
+	find . -name "*aux"  -print |xargs rm