-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
53 lines (40 loc) · 913 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
### -*- mode: makefile-gmake -*-
# Note: If building on Mac OS X, and if you use MacPorts, the following ports
# should be installed:
#
# texlive-latex
# texlive-plain-extra
# texlive-latex-recommended
# texlive-latex-extra
# texlive-fonts-recommended
# texlive-fonts-extra
# texlive-generic-recommended
FIGURES = $(patsubst %.dot,%.pdf,$(wildcard *.dot))
TSPDF = pdflatex rcu | grep -v "^Overfull"
default: rebuild
clean:
rm -f *.aux *.idx *.ilg *.ind *.log *.lot *.lof *.tmp *.out *.toc rcu.pdf
refresh:
$(TSPDF)
rebuild:
$(TSPDF)
$(TSPDF)
$(TSPDF)
full: $(FIGURES) grammar xrefs reindex
%.pdf: %.dot
dot -o $@ -Tpdf $<
grammar:
sh ../tools/makegram
xrefs:
sh ../tools/makexref
# reindex:
# $(TSPDF)
# $(TSPDF)
# $(TSPDF)
# makeindex generalindex
# makeindex libraryindex
# makeindex grammarindex
# makeindex impldefindex
# $(TSPDF)
# $(TSPDF)
### Makefile ends here