build: avoid dynamic dates for reproducibility

We were using dates (in documentation, (c) notices etc) based on the
build-date; that makes it hard to do reproducible builds, so specify a
specific date in the top-level meson file, and use that throughout.
This commit is contained in:
Dirk-Jan C. Binnema
2023-10-14 15:15:41 +03:00
parent f4a930cd19
commit 967b724e75
6 changed files with 32 additions and 33 deletions

View File

@ -126,19 +126,6 @@ install_data(mu4e_srcs, install_dir: mu4e_lispdir)
install_data('mu4e-about.org', install_dir : join_paths(datadir, 'doc', 'mu'))
if makeinfo.found()
fulldate = run_command('date', '+%d %B %Y', check:true).stdout().strip()
monthdate = run_command('date', '+%B %Y', check:true).stdout().strip()
version_texi_data = configuration_data({
'fulldate' : fulldate,
'monthdate' : monthdate,
'version' : meson.project_version(),
})
version_texi = configure_file(
input: 'version.texi.in',
output: 'version.texi',
configuration: version_texi_data)
custom_target('mu4e_info',
input: 'mu4e.texi',
output: 'mu4e.info',

View File

@ -12,7 +12,7 @@
@c %**end of header
@copying
Copyright @copyright{} 2012-2023 Dirk-Jan C. Binnema
Copyright @copyright{} 2012-@value{UPDATED-YEAR} Dirk-Jan C. Binnema
@quotation
Permission is granted to copy, distribute and/or modify this document