Skip to content
Commit 21a16513 authored by Ben Hutchings's avatar Ben Hutchings Committed by Arnaldo Carvalho de Melo
Browse files

perf doc: Define man page date when using asciidoctor



When building perf documentation with asciidoc, we use "git log" to
find the last commit date of each doc source and pass that to asciidoc
to use as the man page date.

When using asciidoctor, however, the current date is always used
instead.  Defining perf_date like we do for asciidoc also doesn't
work because we're not using DocBook as an intermediate format.
The asciidoctor man page backend looks for the variable "docdate",
so set that instead.

Signed-off-by: default avatarBen Hutchings <benh@debian.org>
Acked-by: default avatarIan <Rogers&lt;irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Salvatore Bonaccorso <carnil@debian.org>
Link: https://lore.kernel.org/r/ZF/1BOahN/i6xbBx@decadent.org.uk


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent c0d68601
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment