The deployed documentation on docs.openafs.org uses html file names
that match the id element for the XML elements in question. On
recent Debian systems, rebuilding these documents uses different
names for the files, based on their position within the document
hierarchy.
For consistency with past usage, and to avoid breaking direct links
when possible, set the xsl parameter use.id.as.filename to go back
to the old naming scheme.
Change-Id: I6d3fa2b74e319d1375891170817760d027e82f03
Reviewed-on: https://gerrit.openafs.org/12189
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: Benjamin Kaduk <kaduk@mit.edu>
index.html: $(SRCS)
$(XSLTPROC) --param navig.graphics 1 \
+ --param use.id.as.filename 1 \
--stringparam navig.graphics.path ../ $(DOCBOOK_STYLESHEETS)/$(HTML_XSL) $(BOOK).xml
$(BOOK).pdf: $(SRCS)
SRCS = $(BOOK).xml preface.xml $(VERSION).xml \
entities.dtd sect1.xml sect5.xml sect8.xml
DOCBOOK_STYLESHEETS = @DOCBOOK_STYLESHEETS@
-XSLTPROC = @XSLTPROC@ --stringparam variablelist.as.blocks 1
+XSLTPROC = @XSLTPROC@ --stringparam variablelist.as.blocks 1 --param use.id.as.filename 1
DOCBOOK2PDF = @DOCBOOK2PDF@
DBTOEPUB = $(DOCBOOK_STYLESHEETS)/epub/bin/dbtoepub
KINDLEGEN = @KINDLEGEN@
index.html: $(SRCS)
$(XSLTPROC) --param navig.graphics 1 \
+ --param use.id.as.filename 1 \
--stringparam navig.graphics.path ../ $(DOCBOOK_STYLESHEETS)/$(HTML_XSL) $(BOOK).xml
$(BOOK).pdf: $(SRCS)
index.html: $(SRCS)
$(XSLTPROC) --param navig.graphics 1 \
+ --param use.id.as.filename 1 \
--stringparam navig.graphics.path ../ $(DOCBOOK_STYLESHEETS)/$(HTML_XSL) $(BOOK).xml
$(BOOK).pdf: $(SRCS)