From f8ee7869f4836427109959cf20e299a31fa86eaf Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Tue, 25 May 2010 11:25:12 +0100 Subject: [PATCH] perl: Rerun configure if MAX_PROC_NR changes. If MAX_PROC_NR changes (because a new API has been added to the generator) then we need to rerun configure in order to set the Makefile's ${MAX_PROC_NR} variable, in order to rebuild Makefile.PL. --- perl/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl/Makefile.am b/perl/Makefile.am index c192290..e1a6455 100644 --- a/perl/Makefile.am +++ b/perl/Makefile.am @@ -61,7 +61,8 @@ INSTALLDIRS = site all: Makefile-pl src_deps $(MAKE) -f Makefile-pl -Makefile-pl: Makefile.PL +Makefile-pl: Makefile.PL $(top_srcdir)/src/MAX_PROC_NR + cd $(top_srcdir) && ./config.status --recheck perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS) PREFIX=$(prefix) # No! Otherwise it is deleted before the clean-local rule runs. -- 1.8.3.1