Makefile 236 Bytes
Newer Older
1 2 3 4 5 6
.PHONY: all clean

all: main.pdf

export TEXINPUTS=.:

POTTIER Francois's avatar
POTTIER Francois committed
7
%.pdf: %.tex $(wildcard *.tex) $(wildcard *.bib) $(wildcard *.sty)
8 9 10
	pdflatex $*
	bibtex $*
	pdflatex $*
regisgia's avatar
regisgia committed
11
	pdflatex $*
12 13

clean:
regisgia's avatar
regisgia committed
14
	rm -f *.log *.aux *.bbl *.blg *.out *.toc *~ main.pdf
15