From 928ed152eda8ca177a0904c8693c8ffff9b37bdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 27 Nov 2021 16:09:11 +0100 Subject: [PATCH] doc: make reproducible build of docs with asciidoctor --- configure.ac | 2 +- doc/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index efcecaead..9af69df11 100644 --- a/configure.ac +++ b/configure.ac @@ -1263,7 +1263,7 @@ if test "x$enable_man" = "xyes" -o "x$enable_doc" = "xyes"; then enable_man="no" enable_doc="no" fi - ASCIIDOCTOR_ARGS="-a experimental -a 'prewrap!' -a icons=font -a sectanchors -a source-highlighter=pygments -a pygments-style=native" + ASCIIDOCTOR_ARGS="-a experimental -a reproducible -a 'prewrap!' -a icons=font -a sectanchors -a source-highlighter=pygments -a pygments-style=native" AC_SUBST(ASCIIDOCTOR) AC_SUBST(ASCIIDOCTOR_ARGS) fi diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 44cf718ea..7a4fa1291 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -22,7 +22,7 @@ if(ENABLE_MAN OR ENABLE_DOC) find_package(Asciidoctor) if(ASCIIDOCTOR_FOUND) # common asciidoctor arguments - set(ASCIIDOCTOR_ARGS -a experimental -a "prewrap!" -a icons=font -a revnumber="${VERSION}" -a sectanchors -a source-highlighter=pygments -a pygments-style=native) + set(ASCIIDOCTOR_ARGS -a experimental -a reproducible -a "prewrap!" -a icons=font -a revnumber="${VERSION}" -a sectanchors -a source-highlighter=pygments -a pygments-style=native) # sed arguments used to replace links in ChangeLog and release notes set(SED_LINKS_ARGS