On Wed, Apr 27, 2005 at 12:25:11PM -0700, Mike Castle wrote:
> It looks to me like PL_FILES are being ran AFTER pm_to_blib:
Yeah, there's nothing explicitly stating that PL files should be
processed before pm_to_blib. The attached patch does it. However it
changes pm_to_blib from a : to a :: which I'm pretty sure is going to break
a bunch of existing MakeMaker hacks. cpansearch is down so I can't check
for sure.
Anyhow, try it out. If it turns out its going to break a bunch of things
I'll probably just change it back to running PL files after pm_to_blib to
minimize boat rocking.
=== lib/ExtUtils/MM_Unix.pm
==================================================================
--- lib/ExtUtils/MM_Unix.pm (revision 4482)
+++ lib/ExtUtils/MM_Unix.pm (local)
@@ -2841,7 +2841,7 @@
my $self = shift;
my($autodir) = $self->catdir('$(INST_LIB)','auto');
my $r = q{
-pm_to_blib : $(TO_INST_PM)
+pm_to_blib :: $(TO_INST_PM)
};
my $pm_to_blib = $self->oneliner(<<CODE, ['-MExtUtils::Install']);
@@ -3048,7 +3048,7 @@
$m .= sprintf <<'MAKE_FRAG', ($target) x 2, ($plfile) x 2, $target;
-all :: %s
+pm_to_blib :: %s
$(NOECHO) $(NOOP)
%s :: %s