chiark / gitweb /
.git-revid from my trains.git
[topbloke-formulae.git] / Makefile
1
2 SRCS := $(wildcard *.tex)
3
4 default: final.pdf
5
6 once:
7                 pdflatex -halt-on-error article.tex </dev/null
8
9 final.pdf: $(SRCS)
10                 $(MAKE) once
11                 $(MAKE) once
12                 $(MAKE) once
13                 cp article.pdf final.pdf
14
15 %.ps: %.pdf
16                 pdftops $*.pdf $*.ps
17
18 clean:
19         rm -f *.aux *.log *.dvi *.out *.pdf *~