]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
doc: set use.id.as.filename for chunk.xsl
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 f6af41e371f73acd521670d09012777a8ced3bc0..caf48ac6682893b7457bf7399a47f9dd2f9dd420 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 d685d818bcb88ce5f33cffde540e33f51fd60d11..a9d78d6a55150e37f61c30c75940bc62257b43d4 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 c494977f8b4771d2d672c39cdbb7b76e546ba7da..b309015ce2839013805573682380f3a85dcce7c0 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 a152644cd334a44db3e8aed20edc328e3c07f1d1..1a0fe66d625566e5b84530b910e45b2a6480702a 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)