From aa97249b332f23fec7b0575ab5d634b8180dcada Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 5 Jan 2016 15:15:41 -0800 Subject: Set generate.consistent.ids in xsl stylesheets for more repeatable builds Causes auto-generation of id attributes to use values based on position in document, such as id="id-1.5.9.5.2", instead of based on memory address of parse tree, such as id="idm140664351287904", so that generated documents end up with the same contents across rebuilds & platforms (especially on platforms using address space layout randomization). Does not guarantee long-term stability of links across releases, just repeatability when building the same release multiple times - values will change when documents are edited to add/remove/reorder sections. Only effective when used with version 1.77 or later of the DocBook XSL stylesheets (released in 2012). Signed-off-by: Alan Coopersmith --- xorg-fo.xsl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'xorg-fo.xsl') diff --git a/xorg-fo.xsl b/xorg-fo.xsl index 4680db3..41fb3f3 100644 --- a/xorg-fo.xsl +++ b/xorg-fo.xsl @@ -41,6 +41,13 @@ page + + + +