1 # Makefile to build the AFS QuickStart guide for Unix.
3 # This makefile assumes that various utilities are available on the system.
4 # On Debian etch, installing the packages:
10 # gave me all the utilities needed. You may need to install fewer packages as
11 # several depend on the others.
15 SRCS = $(BOOK) auqbg003.xml auqbg004.xml auqbg005.xml auqbg006.xml \
16 auqbg007.xml auqbg008.xml
22 docbook2html $(FLAGS) -d mystyle.dsl\#html $(BOOK)
25 docbook2pdf $(FLAGS) -d mystyle.dsl\#print $(BOOK)
28 @echo "Building index..."
29 /usr/bin/collateindex.pl -N -o $(IDX)
30 jw -d mystyle.dsl\#html -V html-index -o tmpindex $(BOOK)
31 /usr/bin/collateindex.pl -g -o $(IDX) tmpindex/HTML.index
35 xmllint --noout --valid $(BOOK)
38 rm -f *.html *.pdf $(IDX)