mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
7b56f2ebfc
LICENSE MIT Standardize the UNIX Makefiles for all of the DocBook guides. Remove the rest of the generated files and switch to xsltproc and dblatex for the document generation in all cases. Fix a few DocBook errors by removing the contents of the <index> tag and removing the unknown <pubsnumber> tag in the <revision> field.
38 lines
1009 B
Makefile
38 lines
1009 B
Makefile
# Makefile to build the AFS Admin 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 possibly specific to Debian and may need to be modified on other
|
|
# systems.
|
|
|
|
BOOK = auagd000.xml
|
|
SRCS = $(BOOK) auagd005.xml auagd006.xml auagd007.xml auagd008.xml \
|
|
auagd009.xml auagd010.xml auagd011.xml auagd012.xml auagd013.xml \
|
|
auagd014.xml auagd015.xml auagd016.xml auagd017.xml auagd018.xml \
|
|
auagd019.xml auagd020.xml auagd021.xml auagd022.xml auagd023.xml \
|
|
auagd024.xml auagd025.xml
|
|
HTML_XSL = /usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl
|
|
|
|
all: pdf html
|
|
|
|
html: $(SRCS)
|
|
xsltproc --param navig.graphics 1 \
|
|
--stringparam navig.graphics.path ../ $(HTML_XSL) $(BOOK)
|
|
|
|
pdf: $(SRCS)
|
|
dblatex $(BOOK)
|
|
|
|
check:
|
|
xmllint --noout --valid $(BOOK)
|
|
|
|
clean:
|
|
rm -f *.html *.pdf
|