Changeset 21781 for inc

Show
Ignore:
Timestamp:
08/04/08 18:03:00 (5 months ago)
Author:
audreyt
Message:

* Module::Install::Pugs - Speed up "perl Makefile.PL" a lot by not

unneccessarily create Makefile in ext/ when they are already fresh.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • inc/Module/Install/Pugs.pm

    r21682 r21781  
    1414    die "Install version must be 5 or 6 for WritePugs" 
    1515      unless $install_version =~ /^[56]$/; 
     16 
     17    if (($install_version == 6) and -e 'Makefile' and (-M 'Makefile.PL' > -M 'Makefile')) { 
     18        # Makefile is new here, skip running "Makefile.PL" 
     19        return; 
     20    } 
    1621 
    1722    $self->setup_perl6_install