From c9b06a55e747f2c562d1cf8da847bfe7639d151c Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Sun, 19 Nov 2023 12:27:00 +0000 Subject: [PATCH] man: fix unreproducible copyright years 967b724e7546 ("build: avoid dynamic dates for reproducibility") introduced the `mu_date` variable to hard-code a build-date. This is used for the dates embedded in the texinfo documentation, but `date` is still called to set the copyright years in the man-pages. Use `mu_date` there too. Signed-off-by: Jeremy Sowden --- man/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/man/meson.build b/man/meson.build index d3242606..2dedf8e8 100644 --- a/man/meson.build +++ b/man/meson.build @@ -17,10 +17,9 @@ # # generate org include files # -year = run_command('date', '+%Y', check:true, capture:true) man_data=configuration_data() man_data.set('VERSION', meson.project_version()) -man_data.set('YEAR', year.stdout().strip()) +man_data.set('YEAR', mu_year) incs=[ 'author.inc', 'bugs.inc',