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

Closed
wants to merge 1 commit into from

Conversation

bmwiedemann
Copy link
Contributor

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.

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.

Signed-off-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
@bmwiedemann
Copy link
Contributor Author

This was merged in commit 40580cd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant