man-page-fileserver-update-20080311
[openafs.git] / doc / xml / AdminReference / Makefile
1 BOOK = auarf000.xml
2 IDX = index.xml
3 SRCS = $(BOOK)
4 FLAGS = -e no-idref
5
6 all: pdf html
7
8 html: $(SRCS)
9         docbook2html $(FLAGS) -d mystyle.dsl#html $(BOOK)
10
11 pdf: $(SRCS)
12         docbook2pdf $(FLAGS) -d mystyle.dsl#print $(BOOK)
13
14 index:
15         @echo "Building index..."
16         @/usr/bin/collateindex.pl -N -o $(IDX)
17         @jw -d mystyle.dsl#html -V html-index -o tmpindex $(BOOK)
18         @/usr/bin/collateindex.pl -g -o $(IDX) tmpindex/HTML.index
19         @rm -rf tmpindex
20
21 check:
22         xmllint --noout --valid $(BOOK)