openafs/doc/xml/AdminReference/Makefile
Chas Williams 52557c982e xml-docbook-documentation-first-pass-20060915
needs more massaging to make it fit the tree, but, get it here first
2006-09-16 01:13:22 +00:00

23 lines
470 B
Makefile

BOOK = auarf000.xml
IDX = index.xml
SRCS = $(BOOK)
FLAGS = -e no-idref
all: pdf html
html: $(SRCS)
docbook2html $(FLAGS) -d mystyle.dsl#html $(BOOK)
pdf: $(SRCS)
docbook2pdf $(FLAGS) -d mystyle.dsl#print $(BOOK)
index:
@echo "Building index..."
@/usr/bin/collateindex.pl -N -o $(IDX)
@jw -d mystyle.dsl#html -V html-index -o tmpindex $(BOOK)
@/usr/bin/collateindex.pl -g -o $(IDX) tmpindex/HTML.index
@rm -rf tmpindex
check:
xmllint --noout --valid $(BOOK)