Commit b995adc2 authored by Entéocline's avatar Entéocline

Makefile amélioré — permet de nettoyer les fichiers générés

parent 9dd1ed31
########################## MAKEFILE LaTeX GUIDE #############################
# Constantes
SOURCE=latex-guide.tex
AUX=latex-guide.aux
EXEM=ex.aux
TIKZ=tikz/
all:
# Règles
all: check-tikz compile
compile:
pdflatex --enable-write18 ${SOURCE}
bibtex ${AUX}
bibtex ${EXEM}
pdflatex ${SOURCE}
pdflatex ${SOURCE}
check-tikz:
@test -d ${TIKZ} || mkdir ${TIKZ}
clean:
@echo "Nettoyage des fichiers de compilation..."
@rm -f *.aux *.log *.bbl *.blg *.toc *.out *.auxlock *.tmp
@cd parts/ ; rm -f *.aux
mrproper: clean
@echo "Nettoyage des fichiers générés..."
@cd ${TIKZ} ; rm -f *
@rm -f *.pdf
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment