meson: fix inserting generation date and time in authors.md.

This commit is contained in:
Jehan 2023-10-14 17:11:55 +02:00
parent 8fcf4c44f9
commit ccb8a7be2e
1 changed files with 2 additions and 1 deletions

View File

@ -1751,12 +1751,13 @@ custom_target('AUTHORS',
],
build_by_default: false,
)
date = run_command('date', '--iso-8601=seconds', check: true)
custom_target('authors.md',
input : [ 'authors4gimp-web.xsl', 'authors.xml', ],
output: 'authors.md',
command: [
xsltproc,
'--stringparam', 'today', '`date --iso-8601=seconds`',
'--stringparam', 'today', date.stdout().strip(),
'-o', '@OUTPUT@',
'@INPUT@',
],