rsteinke has asked for the wisdom of the Perl Monks concerning the following question:

When I set NORECURS to true in my Makefile.PL, MakeMaker doesn't recurse into subdirs and create their Makefiles. The problem is, the Makefile it creates in the current directory still tries to recurse into those subdirectories when I type "make", and fails because no Makefile is present there. What am I missing?

Replies are listed 'Best First'.
Re: NORECURS attribute of MakeMaker
by rsteinke (Scribe) on Jun 14, 2002 at 23:34 UTC
    Looking deeper, it appears that the subdirs, clean, and realclean directives are still recursing to subdirectories, even when NORECURS is true. It was subdirs that was causing the problem, as both clean and realclean can handle not finding a Makefile in the subdirectory. I got the module to build by specifying a null MY::subdirs method, but that seems like kind of a hack.