From 39ae8d503f3a5116513af73f934f1b9a4e6a21e4 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sat, 9 Jun 2012 11:23:56 +0200 Subject: [PATCH] [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 --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ## ---------------------------- ## -- 2.47.2