]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
docs: generate reproducible ids
authorArnout Engelen <arnout@bzzt.net>
Thu, 5 Nov 2020 20:27:02 +0000 (21:27 +0100)
committerSimon McVittie <smcv@collabora.com>
Fri, 17 Dec 2021 12:54:28 +0000 (12:54 +0000)
With this parameter, docbook will generate the same id's when generating the
same docs. This is helpful to get bit-by-bit 'reproducible' output, which
makes auditing the package easier.

(cherry picked from commit 43e0188dbf6506f64150f3a9b2392e315b1bbdaf)

doc/Makefile.am

index 97dfa9a646094da31e6376a5af18fb6945937450..44897a3068da433d8180538bfa47c56dac4baa90 100644 (file)
@@ -84,7 +84,7 @@ if DBUS_XML_DOCS_ENABLED
 html_DATA += $(XMLTO_HTML)
 
 %.html: %.xml
-       $(XMLTO) html-nochunks $<
+       $(XMLTO) --stringparam generate.consistent.ids=1 html-nochunks $<
 
 %.1: %.1.xml
        $(XMLTO) man $<