man: fix unreproducible copyright years

967b724e75 ("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 <jeremy@azazel.net>
This commit is contained in:
Jeremy Sowden 2023-11-19 12:27:00 +00:00
parent 171fe9a018
commit c9b06a55e7
1 changed files with 1 additions and 2 deletions

View File

@ -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',