Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to override man page date #68

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@bmwiedemann
Copy link

commented Jun 28, 2019

Allow to override man page date

Without this patch, man page mtime would be updated by a sed call
in install.sh and then written here as text into the output:

+++ /usr/share/man/man5/lcovrc.5
-.TH lcovrc 5 "uq2000-02-02" 2019\-06\-22 "User Manuals"
+.TH lcovrc 5 "uq2000-02-02" 2034\-07\-24 "User Manuals"

For files older than SOURCE_DATE_EPOCH, the mtime is still used
to give more meaningful results.

See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.

Allow to override man page date
Without this patch, man page mtime would be updated by a sed call
in install.sh and then written here as text into the output:

+++ /usr/share/man/man5/lcovrc.5
-.TH lcovrc 5 "uq2000-02-02" 2019\-06\-22 "User Manuals"
+.TH lcovrc 5 "uq2000-02-02" 2034\-07\-24 "User Manuals"

For files older than SOURCE_DATE_EPOCH, the mtime is still used
to give more meaningful results.

See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.