|
|
|
SOURCES := $(wildcard *.tex)
|
|
|
|
all: pdf
|
|
|
|
clean:
|
|
rm -f *.aux *.dvi *.out *.log *.glo *.idx *.ind *.ilg *.lot *.lof *.toc *.fo *.tmp *.cb* *.log
|
|
|
|
dist-clean: clean
|
|
rm -f *.xhtml *.pdf *.ps *.txt
|
|
|
|
%.pdf: %.tex
|
|
pdflatex $< $@
|
|
|
|
pdf: $(patsubst %.tex,%.pdf,$(SOURCES))
|
|
|
|
plop:
|
|
@echo $(SOURCES)
|
|
@echo $(patsubst %.tex,%.pdf,$(SOURCES))
|
|
|