3 SOURCES=$(wildcard *.tex)
5 WorkDir = `basename $(PWD)`
6 ARCHIVE=$(WorkDir)_BookGPU_`date +"%Y-%m-%d"`.tar.gz
9 @printf "Compilation du chapitre..."
14 @printf "Archivage local vers %s ... " "$(ARCHIVE)"
15 @cd ..; tar zcf $(DEPOT)/$(ARCHIVE) $(WorkDir)/Makefile $(WorkDir)/*.tex $(WorkDir)/*.bib $(WorkDir)/figures; cd - > /dev/null
19 @printf "Nettoyage du répertoire..."
20 @rm -f *~ *.aux *.log *.toc *.bbl ../../*~ ../../*.aux ../../*.log ../../*.toc ../../*.ind ../../*.bbl