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 /man1 | |
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 'man1')
-rw-r--r-- | man1/getent.1 | 2 | ||||
-rw-r--r-- | man1/iconv.1 | 2 | ||||
-rw-r--r-- | man1/intro.1 | 2 | ||||
-rw-r--r-- | man1/ldd.1 | 2 | ||||
-rw-r--r-- | man1/locale.1 | 2 | ||||
-rw-r--r-- | man1/localedef.1 | 2 | ||||
-rw-r--r-- | man1/memusage.1 | 2 | ||||
-rw-r--r-- | man1/memusagestat.1 | 2 | ||||
-rw-r--r-- | man1/mtrace.1 | 2 | ||||
-rw-r--r-- | man1/pldd.1 | 2 | ||||
-rw-r--r-- | man1/sprof.1 | 2 | ||||
-rw-r--r-- | man1/time.1 | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/man1/getent.1 b/man1/getent.1 index 7bcf8b9ec..265ea8882 100644 --- a/man1/getent.1 +++ b/man1/getent.1 @@ -3,7 +3,7 @@ .\" .\" SPDX-License-Identifier: GPL-2.0-or-later .\" -.TH GETENT 1 2022-09-09 "Linux man-pages (unreleased)" +.TH GETENT 1 (date) "Linux man-pages (unreleased)" .SH NAME getent \- get entries from Name Service Switch libraries .SH SYNOPSIS diff --git a/man1/iconv.1 b/man1/iconv.1 index 8c5ecba05..4fd06a1ad 100644 --- a/man1/iconv.1 +++ b/man1/iconv.1 @@ -2,7 +2,7 @@ .\" .\" SPDX-License-Identifier: GPL-2.0-or-later .\" -.TH ICONV 1 2022-09-09 "Linux man-pages (unreleased)" +.TH ICONV 1 (date) "Linux man-pages (unreleased)" .SH NAME iconv \- convert text from one character encoding to another .SH SYNOPSIS diff --git a/man1/intro.1 b/man1/intro.1 index 441ca4d3a..c5fcba1ce 100644 --- a/man1/intro.1 +++ b/man1/intro.1 @@ -2,7 +2,7 @@ .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.TH INTRO 1 2022-09-09 "Linux man-pages (unreleased)" +.TH INTRO 1 (date) "Linux man-pages (unreleased)" .SH NAME intro \- introduction to user commands .SH DESCRIPTION diff --git a/man1/ldd.1 b/man1/ldd.1 index 80902446f..9860c47cf 100644 --- a/man1/ldd.1 +++ b/man1/ldd.1 @@ -8,7 +8,7 @@ .\" .\" SPDX-License-Identifier: GPL-1.0-or-later .\" -.TH LDD 1 2022-09-09 "Linux man-pages (unreleased)" +.TH LDD 1 (date) "Linux man-pages (unreleased)" .SH NAME ldd \- print shared object dependencies .SH SYNOPSIS diff --git a/man1/locale.1 b/man1/locale.1 index b826efffe..0b5e765c7 100644 --- a/man1/locale.1 +++ b/man1/locale.1 @@ -2,7 +2,7 @@ .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.TH LOCALE 1 2022-09-09 "Linux man-pages (unreleased)" +.TH LOCALE 1 (date) "Linux man-pages (unreleased)" .SH NAME locale \- get locale-specific information .SH SYNOPSIS diff --git a/man1/localedef.1 b/man1/localedef.1 index d6a40866a..1f6f8efcc 100644 --- a/man1/localedef.1 +++ b/man1/localedef.1 @@ -12,7 +12,7 @@ .\" Lars Wirzenius to document new functionality (as of GNU .\" C library 2.3.5). .\" -.TH LOCALEDEF 1 2022-09-09 "Linux man-pages (unreleased)" +.TH LOCALEDEF 1 (date) "Linux man-pages (unreleased)" .SH NAME localedef \- compile locale definition files .SH SYNOPSIS diff --git a/man1/memusage.1 b/man1/memusage.1 index f6741d778..52344722e 100644 --- a/man1/memusage.1 +++ b/man1/memusage.1 @@ -2,7 +2,7 @@ .\" and Copyright (C) 2014, Michael Kerrisk <mtk.manpages@gmail.com> .\" .\" SPDX-License-Identifier: GPL-2.0-or-later -.TH MEMUSAGE 1 2022-09-09 "Linux man-pages (unreleased)" +.TH MEMUSAGE 1 (date) "Linux man-pages (unreleased)" .SH NAME memusage \- profile memory usage of a program .SH SYNOPSIS diff --git a/man1/memusagestat.1 b/man1/memusagestat.1 index de6e49fe1..c416cdc97 100644 --- a/man1/memusagestat.1 +++ b/man1/memusagestat.1 @@ -1,7 +1,7 @@ .\" Copyright (c) 2013, Peter Schiffer <pschiffe@redhat.com> .\" .\" SPDX-License-Identifier: GPL-2.0-or-later -.TH MEMUSAGESTAT 1 2022-09-09 "Linux man-pages (unreleased)" +.TH MEMUSAGESTAT 1 (date) "Linux man-pages (unreleased)" .SH NAME memusagestat \- generate graphic from memory profiling data .SH SYNOPSIS diff --git a/man1/mtrace.1 b/man1/mtrace.1 index 3712b4111..4d619830e 100644 --- a/man1/mtrace.1 +++ b/man1/mtrace.1 @@ -1,7 +1,7 @@ .\" Copyright (c) 2013, Peter Schiffer (pschiffe@redhat.com) .\" .\" SPDX-License-Identifier: GPL-2.0-or-later -.TH MTRACE 1 2022-09-09 "Linux man-pages (unreleased)" +.TH MTRACE 1 (date) "Linux man-pages (unreleased)" .SH NAME mtrace \- interpret the malloc trace log .SH SYNOPSIS diff --git a/man1/pldd.1 b/man1/pldd.1 index 273b41faf..ce8bba1de 100644 --- a/man1/pldd.1 +++ b/man1/pldd.1 @@ -2,7 +2,7 @@ .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.TH PLDD 1 2022-09-09 "Linux man-pages (unreleased)" +.TH PLDD 1 (date) "Linux man-pages (unreleased)" .SH NAME pldd \- display dynamic shared objects linked into a process .SH SYNOPSIS diff --git a/man1/sprof.1 b/man1/sprof.1 index 7c2f6315c..d01834282 100644 --- a/man1/sprof.1 +++ b/man1/sprof.1 @@ -2,7 +2,7 @@ .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.TH SPROF 1 2022-09-15 "Linux man-pages (unreleased)" +.TH SPROF 1 (date) "Linux man-pages (unreleased)" .SH NAME sprof \- read and display shared object profiling data .SH SYNOPSIS diff --git a/man1/time.1 b/man1/time.1 index dab9a7312..2264d262d 100644 --- a/man1/time.1 +++ b/man1/time.1 @@ -4,7 +4,7 @@ .\" .\" SPDX-License-Identifier: GPL-1.0-or-later .\" -.TH TIME 1 2022-09-09 "Linux man-pages (unreleased)" +.TH TIME 1 (date) "Linux man-pages (unreleased)" .SH NAME time \- time a simple command or give resource usage .SH SYNOPSIS |