doc: set use.id.as.filename for chunk.xsl 89/12189/2
authorBenjamin Kaduk <kaduk@mit.edu>
Sat, 13 Feb 2016 19:02:55 +0000 (13:02 -0600)
committerBenjamin Kaduk <kaduk@mit.edu>
Wed, 4 May 2016 05:51:25 +0000 (01:51 -0400)
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>

doc/xml/AdminGuide/Makefile.in
doc/xml/AdminRef/Makefile.in
doc/xml/QuickStartUnix/Makefile.in
doc/xml/UserGuide/Makefile.in

index f6af41e..caf48ac 100644 (file)
@@ -35,6 +35,7 @@ DBTOEPUB = $(DOCBOOK_STYLESHEETS)/epub/bin/dbtoepub
 
 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 d685d81..a9d78d6 100644 (file)
@@ -11,7 +11,7 @@ include @TOP_OBJDIR@/src/config/Makefile.version
 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 c494977..b309015 100644 (file)
@@ -33,6 +33,7 @@ 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 a152644..1a0fe66 100644 (file)
@@ -33,6 +33,7 @@ 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)