* 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 <[email protected]> --- 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
