Make man pages reproducible

This commit is contained in:
Cagebreak Signing Key 3 2021-05-06 10:49:45 +02:00
commit bfa667503e
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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
)