chiark
/
gitweb
/
~ian
/
topbloke-formulae.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make clean - remove *.ps
[topbloke-formulae.git]
/
Makefile
1
2
SRCS := $(wildcard *.tex)
3
4
default: final.pdf
5
6
once: revid.inc
7
pdflatex -halt-on-error article.tex </dev/null
8
9
revid.inc: .git-revid $(SRCS) Makefile
10
./$< >$@.new
11
cmp $@.new $@ || mv -f $@.new $@
12
13
final.pdf: $(SRCS)
14
$(MAKE) once
15
$(MAKE) once
16
$(MAKE) once
17
cp article.pdf final.pdf
18
19
%.ps: %.pdf
20
pdftops $*.pdf $*.ps
21
22
clean:
23
rm -f *.aux *.log *.dvi *.out *.pdf *.ps *~