[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[automake-commit] branch master updated: doc: improve NAME string for ma
From: |
Karl Berry |
Subject: |
[automake-commit] branch master updated: doc: improve NAME string for man pages. |
Date: |
Mon, 29 May 2023 20:54:19 -0400 |
This is an automated email from the git hooks/post-receive script.
karl pushed a commit to branch master
in repository automake.
View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=5b87f66c8a51949ee58e254159518818c7c1b6f9
The following commit(s) were added to refs/heads/master by this push:
new 5b87f66c8 doc: improve NAME string for man pages.
5b87f66c8 is described below
commit 5b87f66c8a51949ee58e254159518818c7c1b6f9
Author: Karl Berry <karl@freefriends.org>
AuthorDate: Mon May 29 17:54:07 2023 -0700
doc: improve NAME string for man pages.
This change fixes https://bugs.gnu.org/62853 and
https://bugs.gnu.org/62854.
* doc/local.mk (update_mans): move $(AM_V_GEN): to calls;
include --name="$${HELP2MAN_NAME}".
(-%D%/aclocal-$(APIVERSION).1, %D%/automake-$(APIVERSION).1):
set HELP2MAN_NAME in environment to pass to help2man.
---
doc/local.mk | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/doc/local.mk b/doc/local.mk
index f76d6d66f..f7313e150 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -36,9 +36,10 @@ CLEANFILES += $(man1_MANS)
EXTRA_DIST += %D%/help2man
update_mans = \
- $(AM_V_GEN): \
- && $(MKDIR_P) %D% \
- && AUTOMAKE_HELP2MAN=true ./pre-inst-env $(PERL) $(srcdir)/%D%/help2man
--output=$@ --info-page=automake
+ $(MKDIR_P) %D% \
+ && AUTOMAKE_HELP2MAN=true ./pre-inst-env \
+ $(PERL) $(srcdir)/%D%/help2man --output=$@ --info-page=automake \
+ --name="$${HELP2MAN_NAME}"
%D%/aclocal.1 %D%/automake.1:
$(AM_V_GEN): \
@@ -47,9 +48,9 @@ update_mans = \
&& echo ".so man1/$$f-$(APIVERSION).1" > $@
%D%/aclocal-$(APIVERSION).1: $(aclocal_script) lib/Automake/Config.pm
- $(update_mans) $(aclocal_script)
+ $(AM_V_GEN):; HELP2MAN_NAME="Generate aclocal.m4 by scanning
configure.ac"; export HELP2MAN_NAME; $(update_mans) $(aclocal_script)
%D%/automake-$(APIVERSION).1: $(automake_script) lib/Automake/Config.pm
- $(update_mans) $(automake_script)
+ $(AM_V_GEN):; HELP2MAN_NAME="Generate Makefile.in files for configure
from Makefile.am"; export HELP2MAN_NAME; $(update_mans) $(automake_script)
## This target is not invoked as a dependency of anything. It exists
## merely to make checking the links in automake.texi (that is,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [automake-commit] branch master updated: doc: improve NAME string for man pages.,
Karl Berry <=