mirror of https://github.com/djcb/mu.git
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:
parent
171fe9a018
commit
c9b06a55e7
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue