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:
@ -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',
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user