xml-docbook-documentation-first-pass-20060915
[openafs.git] / doc / xml / QuickStartUnix / Makefile
1 BOOK = auqbg000.xml
2 IDX = auqbg009.xml
3 SRCS = $(BOOK) auqbg003.xml auqbg004.xml auqbg005.xml auqbg006.xml auqbg007.xml auqbg008.xml
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)