]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r306740, r307150: groff: use changelog date in man pages
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 18 Nov 2016 16:05:32 +0000 (16:05 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 18 Nov 2016 16:05:32 +0000 (16:05 +0000)
commit2c0ee3a4f0066476ed7c640a62801ab2e1996364
treea64f0d8e71a9e77422031b849e6a9bddb4c0431a
parentd7e52d8c8dfed7638739f0b18c8b8d60cfde08ce
MFC r306740, r307150: groff: use changelog date in man pages

r306740:

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

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

r307150:

Avoid using 'head' in generating groff doc date

It may not be available in certain cross build cases.

Note that this is a slight change in functionality, in that now only the
first line of the source ChangeLog file is processed. This is acceptable
as groff will be retired and we won't encounter a possibly-different
ChangeLog format.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@308805 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
gnu/usr.bin/groff/Makefile.inc
gnu/usr.bin/groff/mdate.sh [new file with mode: 0755]