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.
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.