On Mar 30, Michael Schwern wrote:
> I just read https://rt.cpan.org/Ticket/Display.html?id=1991
>
> Basically, when Makefile.PLs in subdirectories are run @ARGV from the parent
> Makefile.PL is propagated but deliberately ignored. It appears to have
> always been this way. What I'm trying to figure out is why?
>
> Anyone know?
I don't quite get it. I just made a stub Makefile.PL thus:
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'foo',
DIR => [ 'subdir' ],
);
with a subdir/Makefile.PL thus:
use ExtUtils::MakeMaker;
WriteMakefile(NAME => 'foo/subdir');
and when I say, "perl Makefile.PL A B", subdir/Makefile contains
the following target:
Makefile : Makefile.PL $(CONFIGDEP)
...
$(PERL) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" Makefile.PL "A" "B"
Am I missing something?
- Kurt