]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] docs: fix a bug in generation of man pages
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 9 Jun 2012 09:23:56 +0000 (11:23 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 9 Jun 2012 09:24:21 +0000 (11:24 +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 <stefano.lattarini@gmail.com>
Makefile.am

index a08a3e539237916ac92a034c25c21cd187c4c398..09ecc3f82627e74d28e8ff81dbb478b915e1b488 100644 (file)
@@ -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)
 
 
 ## ---------------------------- ##