summaryrefslogtreecommitdiffstats
path: root/doc/implement/Makefile
blob: 4c51161328aee1858e2462ec0ec445e12394f5e8 (plain)
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
.SUFFIXES: .tex .dvi .ps

STYLES= fixunder.sty functions.sty
LIBTEX= implement.tex ccache-i.tex rcache-i.tex keytab-i.tex libos-i.tex \
	kdb-i.tex encrypt-i.tex cksum-i.tex crc-32-i.tex implement.ind


all: implement.ps


implement.ps: implement.dvi

# hard to capture two-pass semantics in Makefiles...
# implement.ind: implement.dvi
implement.ind: implement.idx
	makeindex implement.idx

implement.idx: 
	touch implement.ind
	latex implement.tex
	rm implement.ind

clean:
	rm -f *.toc *.log *.idx *.ind *.aux *.ilg

really-clean: clean
	rm -f *.dvi *.ps


implement.dvi:  $(LIBTEX) $(STYLES)

.tex.dvi:
	latex $*


.dvi.ps:
	dvips $*.dvi -o