aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2015-08-06 12:57:44 -0600
committerJonathan Corbet <corbet@lwn.net>2015-08-06 12:57:44 -0600
commit60004ca5dcfbf43182a9ba42bcbbf216c3684433 (patch)
treea162fa48c8ec29ae88ac66deb22c46d05999a849 /Documentation/DocBook
parentDocumentation: Minor changes to men-chameleon-bus.txt (diff)
parentRevert "DocBook: Avoid building man pages repeatedly and inconsistently" (diff)
downloadlinux-dev-60004ca5dcfbf43182a9ba42bcbbf216c3684433.tar.xz
linux-dev-60004ca5dcfbf43182a9ba42bcbbf216c3684433.zip
Merge branch 'doc/4.3-reproducible' into docs-next
Ben Hutchings writes: As part of the reproducible builds project, Jérémy Bobbio identified several time-dependent and non-deterministic functions in the document build process (htmldocs, mandocs targets). This patch series should fix all of those. I ended up reverting one patch that introduced problems.
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r--Documentation/DocBook/Makefile2
-rw-r--r--Documentation/DocBook/stylesheet.xsl1
2 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
index 170042a1ea5f..b7d2110298de 100644
--- a/Documentation/DocBook/Makefile
+++ b/Documentation/DocBook/Makefile
@@ -56,7 +56,7 @@ htmldocs: $(HTML)
MAN := $(patsubst %.xml, %.9, $(BOOKS))
mandocs: $(MAN)
- find $(obj)/man -name '*.9' | xargs gzip -f
+ find $(obj)/man -name '*.9' | xargs gzip -nf
installmandocs: mandocs
mkdir -p /usr/local/man/man9/
diff --git a/Documentation/DocBook/stylesheet.xsl b/Documentation/DocBook/stylesheet.xsl
index 85b25275196f..3bf4ecf3d760 100644
--- a/Documentation/DocBook/stylesheet.xsl
+++ b/Documentation/DocBook/stylesheet.xsl
@@ -5,6 +5,7 @@
<param name="funcsynopsis.tabular.threshold">80</param>
<param name="callout.graphics">0</param>
<!-- <param name="paper.type">A4</param> -->
+<param name="generate.consistent.ids">1</param>
<param name="generate.section.toc.level">2</param>
<param name="use.id.as.filename">1</param>
</stylesheet>