From: Stefano Lattarini Date: Sat, 9 Jun 2012 09:23:56 +0000 (+0200) Subject: [ng] docs: fix a bug in generation of man pages X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39ae8d503f3a5116513af73f934f1b9a4e6a21e4;p=thirdparty%2Fautomake.git [ng] docs: fix a bug in generation of man pages * 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 --- diff --git a/Makefile.am b/Makefile.am index a08a3e539..09ecc3f82 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) ## ---------------------------- ##