Page MenuHomeFreeBSD

groff: use changelog date rather than file modification date in man pages
ClosedPublic

Authored by emaste on Oct 5 2016, 9:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 25, 9:22 AM
Unknown Object (File)
Nov 25 2024, 2:19 PM
Unknown Object (File)
Nov 25 2024, 2:16 PM
Unknown Object (File)
Oct 1 2024, 8:25 PM
Unknown Object (File)
Sep 29 2024, 9:59 PM
Unknown Object (File)
Sep 19 2024, 1:53 PM
Unknown Object (File)
Sep 18 2024, 8:04 PM
Unknown Object (File)
Sep 8 2024, 6:01 PM
Subscribers

Details

Summary

The source checkout date is not particularly relevant, and this makes groff man pages build reproducibly.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste retitled this revision from to groff: use changelog date rather than file modification date in man pages.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: bapt, cperciva, allanjude.
emaste added a subscriber: gjb.
bapt edited edge metadata.
This revision is now accepted and ready to land.Oct 5 2016, 9:27 PM

Is there a reason to generate $MDATE via != rather than simply changing the backtick execution within the sed command?

Is there a reason to generate $MDATE via != rather than simply changing the backtick execution within the sed command?

I prefer it for easier debugging the Makefile, and for being clear that it's only being evaluated once per use of Makefile.inc. Because we're going to use one date in common for all manpages there's no need for per-file checking.

This revision was automatically updated to reflect the committed changes.