From 30f1a34750bbeb18b1751a37c4e9d54cc1e8f3ed Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Thu, 17 Apr 2025 14:49:01 -0300 Subject: [PATCH] meson: Get date with Python on authors.md generation --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 3326544082..7771f2ff9d 100644 --- a/meson.build +++ b/meson.build @@ -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()