From bfa667503ec303dd09cf9abe4368c34be1c0037d Mon Sep 17 00:00:00 2001 From: Cagebreak Signing Key 3 Date: Thu, 6 May 2021 10:49:45 +0200 Subject: [PATCH] Make man pages reproducible --- README.md | 1 + meson.build | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d44adaa..4fbfce5 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,7 @@ occur. Once any failure occurs the entire checklist must be completed from scrat * [ ] man pages * [ ] man/cagebreak * [ ] man/cagebreak-config + * [ ] Set EPOCH to release day in man generation in meson.build * [ ] wiki * [ ] README.md Changelog for major and minor releases but not patches * [ ] Fixed bugs documented in Bugs.md diff --git a/meson.build b/meson.build index 446ec7b..5ab89cb 100644 --- a/meson.build +++ b/meson.build @@ -257,7 +257,7 @@ if get_option('man-pages') output : 'cagebreak.1', input : 'man/cagebreak.1.md', capture : true, - command : [sh, '-c', '@0@ < @INPUT@'.format(scdoc.path())], + command : [sh, '-c', 'export SOURCE_DATE_EPOCH=1620290471 ; @0@ < @INPUT@'.format(scdoc.path())], install: true, install_dir: mandir1 ) @@ -266,7 +266,7 @@ if get_option('man-pages') output : 'cagebreak-config.5', input : 'man/cagebreak-config.5.md', capture : true, - command : [sh, '-c', '@0@ < @INPUT@'.format(scdoc.path())], + command : [sh, '-c', 'export SOURCE_DATE_EPOCH=1620290471 ; @0@ < @INPUT@'.format(scdoc.path())], install: true, install_dir: mandir5 )