2c2afb7536311a264bcfebfcd86ef5364bb7d96d
[openafs.git] / doc / xml / QuickStartUnix / Makefile.in
1 # Makefile to build the AFS QuickStart guide for Unix.
2 #
3 # This makefile assumes that various utilities are available on the system.
4 # On Debian lenny, installing the packages:
5 #
6 #     dblatex
7 #     docbook-xsl
8 #     libxml2-utils
9 #     xsltproc
10 #
11 # gave me all the utilities needed.
12 #
13 # HTML_XSL is specific to Debian and will need to be modified on other
14 # systems until we have a better mechanism for finding the correct path.
15
16 all: pdf html
17
18 include @TOP_OBJDIR@/src/config/Makefile.config
19 VERSFILE=version
20 include @TOP_OBJDIR@/src/config/Makefile.version
21
22 BOOK     = auqbg000.xml
23 SRCS     = $(BOOK) auqbg003.xml auqbg004.xml auqbg005.xml auqbg006.xml \
24            auqbg007.xml auqbg008.xml appendix.xml appendix_dafs.xml
25 HTML_XSL = @HTML_XSL@
26 XSLTPROC = @XSLTPROC@
27
28 html: $(SRCS) $(VERSFILE).xml
29         $(XSLTPROC) --param navig.graphics 1 \
30             --stringparam navig.graphics.path ../ $(HTML_XSL) $(BOOK)
31
32 pdf: $(SRCS) $(VERSFILE).xml
33         dblatex $(BOOK)
34
35 check:
36         xmllint --noout --valid $(BOOK)
37
38 clean:
39         rm -f *.html *.pdf