Subject: [PATCH] doc: refer to automake manual in all man pages
From: Mike Frysinger <[email-masked]>
To: [email-masked]
Date: Sun, 13 Mar 2022 00:14:37 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Fixes automake bug https://bugs.gnu.org/54363.

There is no "aclocal" manual as it's all integrated into the automake
manual, so have all the help2man calls force automake as the manual.

* doc/local.mk: Use --info-page=automake for man pages.
---
 doc/local.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/local.mk b/doc/local.mk
index 921e22e9ec54..a3503b76ac97 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -37,7 +37,7 @@ EXTRA_DIST += %D%/help2man
 update_mans = \
   $(AM_V_GEN): \
     && $(MKDIR_P) %D% \
-    && AUTOMAKE_HELP2MAN=true ./pre-inst-env $(PERL) $(srcdir)/%D%/help2man --output=$@
+    && AUTOMAKE_HELP2MAN=true ./pre-inst-env $(PERL) $(srcdir)/%D%/help2man --output=$@ --info-page=automake
 
 %D%/aclocal.1 %D%/automake.1:
 	$(AM_V_GEN): \
-- 
2.34.1