openafs/doc/xml/QuickStartUnix/Makefile.in
Chas Williams (CONTRACTOR) cc2bc3e17f doc: let configure find the XML tools if possible
configure should attempt to find the XML tools we need to process
the documentation.  if it can't, it should provide a safe default.
still allow the user to override via command line.

Change-Id: Ifaf3a5b090e93858c3d3c88363760c508030db90
Change-Id: Ib9558c37b04a4533e91b172a2a62039e4ed06d6f
Reviewed-on: http://gerrit.openafs.org/4766
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
2011-06-05 08:15:55 -07:00

41 lines
1.0 KiB
Makefile

# Makefile to build the AFS QuickStart guide for Unix.
#
# This makefile assumes that various utilities are available on the system.
# On Debian lenny, installing the packages:
#
# dblatex
# docbook-xsl
# libxml2-utils
# xsltproc
#
# gave me all the utilities needed.
#
# HTML_XSL is specific to Debian and will need to be modified on other
# systems until we have a better mechanism for finding the correct path.
all: pdf html
include @TOP_OBJDIR@/src/config/Makefile.config
VERSFILE=version
include @TOP_OBJDIR@/src/config/Makefile.version
BOOK = auqbg000.xml
SRCS = $(BOOK) auqbg003.xml auqbg004.xml auqbg005.xml auqbg006.xml \
auqbg007.xml auqbg008.xml appendix.xml appendix_dafs.xml
HTML_XSL = @HTML_XSL@
XSLTPROC = @XSLTPROC@
DOCBOOK2PDF = @DOCBOOK2PDF@
html: $(SRCS) $(VERSFILE).xml
$(XSLTPROC) --param navig.graphics 1 \
--stringparam navig.graphics.path ../ $(HTML_XSL) $(BOOK)
pdf: $(SRCS) $(VERSFILE).xml
$(DOCBOOK2PDF) $(BOOK)
check:
xmllint --noout --valid $(BOOK)
clean:
rm -f *.html *.pdf