mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 08:20:16 +00:00
f521ac0f60
FIXES 60137 commit updates to the docs for obsolete stuff ==================== This delta was composed from multiple commits as part of the CVS->Git migration. The checkin message with each commit was inconsistent. The following are the additional commit messages. ==================== also the appendix file
39 lines
976 B
Makefile
39 lines
976 B
Makefile
# Makefile to build the AFS QuickStart guide for Unix.
|
|
#
|
|
# This makefile assumes that various utilities are available on the system.
|
|
# On Debian etch, installing the packages:
|
|
#
|
|
# docbook-utils
|
|
# docbook-dsssl
|
|
# libxml2-utils
|
|
#
|
|
# gave me all the utilities needed. You may need to install fewer packages as
|
|
# several depend on the others.
|
|
|
|
BOOK = auqbg000.xml
|
|
IDX = auqbg009.xml
|
|
SRCS = $(BOOK) auqbg003.xml auqbg004.xml auqbg005.xml auqbg006.xml \
|
|
auqbg007.xml auqbg008.xml appendix.xml
|
|
FLAGS = -e no-idref
|
|
|
|
all: pdf html
|
|
|
|
html: $(SRCS) $(IDX)
|
|
docbook2html $(FLAGS) -d mystyle.dsl\#html $(BOOK)
|
|
|
|
pdf: $(SRCS) $(IDX)
|
|
docbook2pdf $(FLAGS) -d mystyle.dsl\#print $(BOOK)
|
|
|
|
$(IDX): $(SRCS)
|
|
@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)
|
|
|
|
clean:
|
|
rm -f *.html *.pdf $(IDX)
|