diff options
author | Alejandro Colomar <alx@kernel.org> | 2022-10-09 18:02:16 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2022-10-09 18:02:16 +0200 |
commit | ab47278f252262dd9bd90f3386ffd7d8700fa25a (patch) | |
tree | d22eaf2c98911e7be9a58647d843cc20d298813f /man2type | |
parent | b23e48c976a3767de2250cdb164c1475c512d30d (diff) |
dist.mk, All pages: .TH: Generate date at 'make dist'
Replace the date by a placeholder (date) in the repo, as we're
doing with the version (unreleased). It will be filled when the
tarball is generated with 'make dist' (or equivalent) with the
date of the most recent git commit that modifies the page (as was
done previously by update_timestamps.sh, which has been removed).
Scripted change (mostly):
$ find man* -type f \
| xargs sed -Ei '/^\.TH /s/.TH +([^ ]+ +[^ ]+) +[^ ]+ +(.*)/.TH \1 (date) \2/'
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man2type')
-rw-r--r-- | man2type/open_how.2type | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man2type/open_how.2type b/man2type/open_how.2type index a27d312ba..cd725a6ce 100644 --- a/man2type/open_how.2type +++ b/man2type/open_how.2type @@ -3,7 +3,7 @@ .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" -.TH OPEN_HOW 2type 2022-09-09 "Linux man-pages (unreleased)" +.TH OPEN_HOW 2type (date) "Linux man-pages (unreleased)" .SH NAME open_how \- how to open a pathname .SH LIBRARY |