diff options
author | Jim Meyering <meyering@fb.com> | 2020-03-14 21:54:50 -0700 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2020-03-15 06:57:15 -0700 |
commit | 9c1447f661922abba208066a07909c5918db0d36 (patch) | |
tree | 6931fcfa756f99a37e55e7dfc38fc71cef307b35 /man | |
parent | 2280c5b4a5cff3194ca4980dc9d254458881773e (diff) | |
download | diffutils-9c1447f661922abba208066a07909c5918db0d36.tar.gz |
doc: adjust formatting to make apropos (man -k) work better
* man/Makefile.am $(dist_man1_MANS): Adjust sed substitution
to also remove the space after "GNU". This avoids the single
leading space on each man page title line. I'm guessing that
interfered with indexing/searching, causing "man -k diff3" to
print this: diff3 (1) - (unknown subject).
Reported by Dan Jacobon in http://bugs.gnu.org/39769.
Diffstat (limited to 'man')
-rw-r--r-- | man/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am index ab8da1d..d4cb02a 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -34,7 +34,7 @@ $(dist_man1_MANS): $(SRC_VERSION_C) help2man $(AM_V_GEN)base=`expr $@ : '\(.*\).1'` \ && test -x $(bin_dir)/$$base \ && (echo '[NAME]' \ - && sed 's@/\* *@@; s/-/\\-/;s/^GNU//; q' $S/$$base.c) \ + && sed 's@/\* *@@; s/-/\\-/;s/^GNU //; q' $S/$$base.c) \ | PATH="$(bin_dir)$(PATH_SEPARATOR)$$PATH" \ $(srcdir)/help2man -i - -i $(srcdir)/$$base.x \ -S '$(PACKAGE) $(VERSION)' $$base > $@-t && mv $@-t $@ |