summaryrefslogtreecommitdiffstats
path: root/doc/api/Makefile
blob: e74e44050d6ffdb02e29d8694101f3643e5b70d2 (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
39
40
41
42
.SUFFIXES: .tex .dvi .ps

STYLES=changebar.sty fixunder.sty functions.sty
LIBTEX= library.tex intro.tex tables.tex errors.tex krb5.tex ccache.tex \
	rcache.tex keytab.tex libos.tex library.ind

DESTEX= libdes.tex

all: library.ps libdes.ps


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

library.ps: library.dvi

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

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

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

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


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


.tex.dvi:
	latex $*


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