[PATCH v2 0/2] perf doc improvements to man page reproducibility

From: Ben Hutchings
Date: Sat May 13 2023 - 16:35:39 EST


I previously sent a patch in 2016(!) to make the dates in man pages
reproducible, with KBUILD_BUILD_TIMESTAMP specifiying the date. That
patch partly overlaps with commit d586ac10ce56 "perf docs: Allow man
page date to be specified", which implemented generation of dates
based on commit timestamps.

However, both of those implementations were specific to the original
asciidoc's DocBook backend and had no effect on asciidoctor's direct
man page generation.

This series builds on the current definition of perf_date, adding
support for asciidoctor and the KBUILD_BUILD_TIMESTAMP variable.

Ben.

Ben Hutchings (2):
perf doc: Define man page date when using asciidoctor
perf doc: Add support for KBUILD_BUILD_TIMESTAMP

tools/perf/Documentation/Makefile | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)

Attachment: signature.asc
Description: PGP signature