aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorBen Hutchings <[email protected]>2023-05-13 22:37:24 +0200
committerArnaldo Carvalho de Melo <[email protected]>2023-05-15 17:48:46 -0300
commit21a165133c85d072051aa214099ad46a49239c46 (patch)
tree9a66cf14c056c1f9977b50dc385f32e1c014eb52 /tools/perf/scripts/python/libxed.py
parentc0d68601cbcefaf69018b3e7aff2687316950ace (diff)
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: Ben Hutchings <[email protected]> Acked-by: Ian Rogers<[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Salvatore Bonaccorso <[email protected]> Link: https://lore.kernel.org/r/ZF/1BOahN/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions