Ajout Makefile
This commit is contained in:
parent
40ef53013b
commit
b39f5e4283
|
|
@ -0,0 +1,20 @@
|
||||||
|
TARGET=cours_git
|
||||||
|
|
||||||
|
all: pdf
|
||||||
|
|
||||||
|
# If there is no bibliography comment the bibtext dependency
|
||||||
|
pdf: #bibtex
|
||||||
|
pdflatex $(TARGET).tex
|
||||||
|
pdflatex $(TARGET).tex
|
||||||
|
|
||||||
|
pdf-lazy:
|
||||||
|
pdflatex $(TARGET).tex
|
||||||
|
|
||||||
|
bibtex: pdf-lazy
|
||||||
|
bibtex $(TARGET)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *.dvi *.aux *.bbl *.blg $(TARGET).ps *.toc *.ind *.out *.brf *.ilg *.idx *.log *.bcf *.nav *.run.xml *.snm *.vrb *.backup tex/*.backup *~
|
||||||
|
|
||||||
|
clean_all: clean
|
||||||
|
rm -f $(TARGET).pdf
|
||||||
Loading…
Reference in New Issue