21 lines
413 B
Makefile
21 lines
413 B
Makefile
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
|