All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: sandeen@sandeen.net, darrick.wong@oracle.com
Cc: linux-xfs@vger.kernel.org
Subject: [PATCH 1/4] man: install all manpages that redirect to another manpage
Date: Mon, 07 Sep 2020 10:51:36 -0700	[thread overview]
Message-ID: <159950109644.567664.3395622067779955144.stgit@magnolia> (raw)
In-Reply-To: <159950108982.567664.1544351129609122663.stgit@magnolia>

From: Darrick J. Wong <darrick.wong@oracle.com>

Some of the ioctl manpages do not contain any information other than a
pointer to a different manpage.  These aren't picked up by the install
scripts, so fix them so that they do.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
---
 include/buildmacros |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


diff --git a/include/buildmacros b/include/buildmacros
index f8d54200382a..6f34d7c528fa 100644
--- a/include/buildmacros
+++ b/include/buildmacros
@@ -95,9 +95,10 @@ INSTALL_MAN = \
 	@for d in $(MAN_PAGES); do \
 		first=true; \
 		for m in `$(AWK) \
-			'/^\.S[h|H] NAME/ {ok=1; next} ok {print; exit}' $$d \
+			'/^\.S[h|H] NAME/ {ok=1; next} /^\.so/ {printf("so %s\n", FILENAME); exit} ok {print; exit}' $$d \
 			| $(SED) \
 				-e 's/^\.Nm //' -e 's/,/ /g' -e 's/\\-.*//' \
+				-e 's/^so \([_a-zA-Z]*\)\.[0-9]/\1/g' \
 				-e 's/\\\f[0-9]//g' -e 's/  / /g;q'`; \
 		do \
 			[ -z "$$m" -o "$$m" = "\\" ] && continue; \


  reply	other threads:[~2020-09-07 17:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-07 17:51 [PATCH 0/4] xfsprogs: various fixes for 5.9 Darrick J. Wong
2020-09-07 17:51 ` Darrick J. Wong [this message]
2020-09-08 14:34   ` [PATCH 1/4] man: install all manpages that redirect to another manpage Christoph Hellwig
2020-09-09 19:11     ` Darrick J. Wong
2020-09-11  2:57   ` Allison Collins
2020-09-07 17:51 ` [PATCH 2/4] mkfs.xfs: tweak wording of external log device size complaint Darrick J. Wong
2020-09-08 14:36   ` Christoph Hellwig
2020-09-11  2:57   ` Allison Collins
2020-09-07 17:51 ` [PATCH 3/4] mkfs: fix reflink/rmap logic w.r.t. realtime devices and crc=0 support Darrick J. Wong
2020-09-08 14:38   ` Christoph Hellwig
2020-09-11  2:57   ` Allison Collins
2020-09-07 17:51 ` [PATCH 4/4] mkfs: set required parts of the realtime geometry before computing log geometry Darrick J. Wong
2020-09-08 14:40   ` Christoph Hellwig
2020-09-09 19:12     ` Darrick J. Wong
2020-09-11  2:58   ` Allison Collins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=159950109644.567664.3395622067779955144.stgit@magnolia \
    --to=darrick.wong@oracle.com \
    --cc=linux-xfs@vger.kernel.org \
    --cc=sandeen@sandeen.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.