diff options
| author | Jeremy Sowden <jeremy@azazel.net> | 2023-11-19 12:27:00 +0000 |
|---|---|---|
| committer | Jeremy Sowden <jeremy@azazel.net> | 2023-11-19 12:30:34 +0000 |
| commit | c9b06a55e747f2c562d1cf8da847bfe7639d151c (patch) | |
| tree | e717afa8425298e8bb6bdeee80e4348089867bbf /man | |
| parent | 171fe9a01806ecfc75f53f600565498b0b04ac82 (diff) | |
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 <jeremy@azazel.net>
Diffstat (limited to 'man')
| -rw-r--r-- | man/meson.build | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/man/meson.build b/man/meson.build index d324260..2dedf8e 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', |
