mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
meson: Get date with Python on authors.md generation
This commit is contained in:
parent
d88966b272
commit
30f1a34750
1 changed files with 2 additions and 2 deletions
|
@ -1867,7 +1867,7 @@ custom_target('AUTHORS',
|
|||
],
|
||||
build_by_default: false,
|
||||
)
|
||||
date = run_command('date', '-u', '+%Y-%m-%dT%H:%M:%SZ', check: true)
|
||||
date = run_command(python, '-c', 'import datetime; print(datetime.datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%SZ"))', check: true)
|
||||
custom_target('authors.md',
|
||||
input : [ 'authors4gimp-web.xsl', 'authors.xml', ],
|
||||
output: 'authors.md',
|
||||
|
@ -1877,7 +1877,7 @@ custom_target('authors.md',
|
|||
'-o', '@OUTPUT@',
|
||||
'@INPUT@',
|
||||
],
|
||||
build_by_default: false,
|
||||
build_by_default: true,
|
||||
)
|
||||
|
||||
if xmllint.found()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue