* 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>
$(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)
## ---------------------------- ##