Changeset 5335


Ignore:
Timestamp:
06/18/09 14:24:54 (3 years ago)
Author:
szabgab
Message:

remove MANIFEST and .mo file building code

Location:
trunk/Padre-Plugin-SpellCheck
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre-Plugin-SpellCheck/Build.PL

    r4755 r5335  
    1313use Module::Build; 
    1414 
    15 my $class = Module::Build->subclass( 
    16     class => "Module::Build::Custom", 
    17     code => <<'SUBCLASS' ); 
    18  
    19 sub ACTION_build { 
    20     my $self = shift; 
    21  
    22     my $msgfmt = $^O =~ /(linux|bsd)/ 
    23         ? `which msgfmt` 
    24         : "c:/Program Files/GnuWin32/bin/msgfmt.exe"; 
    25     chomp $msgfmt; 
    26     if ( $msgfmt && -e $msgfmt ) { 
    27         my @pofiles = glob "lib/Padre/Plugin/SpellCheck/share/locale/*.po"; 
    28         foreach my $pof ( @pofiles ) { 
    29                 my $mof = $pof; 
    30                 $mof =~ s/\.po$/.mo/; 
    31                 $self->do_system( "$msgfmt -o $mof $pof" ); 
    32         } 
    33     } 
    34     $self->SUPER::ACTION_build; 
    35 } 
    36  
    37 SUBCLASS 
    38  
    39  
    40 my $builder = $class->new( 
     15my $builder = Module::Build->new( 
    4116    module_name         => 'Padre::Plugin::SpellCheck', 
    4217    license             => 'perl', 
Note: See TracChangeset for help on using the changeset viewer.