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

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

DESTEX= libdes.tex

all: library.ps libdes.ps


libdes.ps: libdes.dvi
libdes.tex: $(DESTEX) $(STYLES)

library.ps: library.dvi

# hard to capture two-pass semantics in Makefiles...
# library.ind: library.dvi
library.ind:
	index library.idx

library.tex: $(LIBTEX) $(STYLES)

.tex.dvi:
	latex $*


.dvi.ps:
	dvi2ps -r $*.dvi >$*.ps