diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-11-27 12:26:00 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-11-28 00:11:06 +0000 |
commit | c1b3d65877913f139175920699ad2c5aed592ea8 (patch) | |
tree | 0177dfe5c861653843a2e912002536cbde5520ff /man/dummy-man | |
parent | 93e83ff52f3af65023f7a95fb0f79e660603ebe3 (diff) | |
download | coreutils-c1b3d65877913f139175920699ad2c5aed592ea8.tar.xz |
build: support reproducible builds with consistent man pages
Use a consistent date in the generated man pages
even if SOURCE_DATE_EPOCH is not set.
* Makefile.am: Generate .timestamp in the tarball.
* man/local.mk: Pass .timestamp if available to help2man.
* man/dummy-man: Don't bother with the year in the stub.
Reported in http://bugs.debian.org/806321
Diffstat (limited to 'man/dummy-man')
-rwxr-xr-x | man/dummy-man | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/man/dummy-man b/man/dummy-man index bf31912b2..f05ce2ab4 100755 --- a/man/dummy-man +++ b/man/dummy-man @@ -48,11 +48,10 @@ inadequate on this system. Creating a stub man page instead. END progname=`basename_ "$1"` -year=`LC_ALL=C date +%Y` bs='\' cat >"$output" <<END -.TH "$progname" 1 "$year" "$source" "User Commands" +.TH "$progname" 1 "$source" "User Commands" .SH NAME $progname $bs- a $source program .SH DESCRIPTION |