summaryrefslogtreecommitdiffstats
path: root/man3head
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2022-10-09 18:02:16 +0200
committerAlejandro Colomar <alx@kernel.org>2022-10-09 18:02:16 +0200
commitab47278f252262dd9bd90f3386ffd7d8700fa25a (patch)
treed22eaf2c98911e7be9a58647d843cc20d298813f /man3head
parentb23e48c976a3767de2250cdb164c1475c512d30d (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 'man3head')
-rw-r--r--man3head/sysexits.h.3head2
1 files changed, 1 insertions, 1 deletions
diff --git a/man3head/sysexits.h.3head b/man3head/sysexits.h.3head
index 97dddd25b..35600c544 100644
--- a/man3head/sysexits.h.3head
+++ b/man3head/sysexits.h.3head
@@ -7,7 +7,7 @@
.\"
.\" Rewritten for the Linux man-pages by Alejandro Colomar
.\"
-.TH sysexits.h 3head 2022-09-09 "Linux man-pages (unreleased)"
+.TH sysexits.h 3head (date) "Linux man-pages (unreleased)"
.SH NAME
sysexits.h \- exit codes for programs
.SH LIBRARY