automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [FYI] [ng] docs: fix a bug in generation of man pages


From: Stefano Lattarini
Subject: [Automake-NG] [FYI] [ng] docs: fix a bug in generation of man pages
Date: Sat, 9 Jun 2012 11:24:44 +0200

* Makefile.am ($(versioned_mans)): Pass 'aclocal-$(APIVERSION)' and
'automake-$(APIVERSION)' to the 'help2man' invocation, rather than
'aclocal' and 'automake', since otherwise the system-wide automake
and aclocal programs would be used instead of the proper wrappers in
't/wrap'.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index a08a3e5..09ecc3f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -462,7 +462,7 @@ $(versioned_mans): doc/%-$(APIVERSION).1: % 
lib/Automake/Config.pm
         $(AM_V_GEN)$(MKDIR_P) doc \
            && PATH="$(abs_builddir)/t/wrap$(PATH_SEPARATOR)$$PATH" \
            && export PATH \
-           && $(PERL) $(srcdir)/doc/help2man --output=$@ $*
+           && $(PERL) $(srcdir)/doc/help2man --output=$@ $*-$(APIVERSION)
 
 
 ## ---------------------------- ##
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]