Changeset 5558


Ignore:
Timestamp:
06/24/09 23:24:55 (3 years ago)
Author:
ryan52
Message:

build the .mo files at install time

Location:
trunk/Padre-Plugin-Perl6
Files:
3 edited

Legend:

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

    r5438 r5558  
    1717    $requires{'Win32::Process'} = '0.14'; 
    1818} 
    19  
    20 my $builder = Module::Build->new( 
     19my $class = Module::Build->subclass(code => <<'EOF'); 
     20use Locale::Msgfmt; 
     21sub process_mo_files { 
     22msgfmt_dir({in => "lib/Padre/Plugin/Perl6/share/locale/", out => "blib/lib/Padre/Plugin/Perl6/share/locale/"}); 
     23} 
     24EOF 
     25my $builder = $class->new( 
    2126    module_name         => 'Padre::Plugin::Perl6', 
    2227    license             => 'perl', 
     
    2833        'Test::NoWarnings'        => '0.084', 
    2934        'Test::NeedsDisplay'      => '1.05', 
     35                'Locale::Msgfmt'          => '0.02', 
    3036    }, 
    3137    requires => \%requires, 
    3238    add_to_cleanup      => [ 'Padre-Plugin-Perl6-*' ], 
    33     create_makefile_pl  => 'traditional', 
     39    create_makefile_pl  => 'passthrough', 
    3440    meta_merge     => { 
    3541        resources => { 
     
    3844        } 
    3945    }, 
     46 
    4047); 
    4148 
  • trunk/Padre-Plugin-Perl6/Changes

    r5530 r5558  
    11Changes 
     2 
     3=head1 0.47 unreleased 
     4 
     5    - build the .mo files at install time (RSN) 
    26 
    37=head1 0.46 2009.6.24 
  • trunk/Padre-Plugin-Perl6/MANIFEST.SKIP

    r4763 r5558  
    4141\bPadre-Plugin-Perl6-[\d\.\_]+ 
    4242 
    43 # avoid po and pot files (gettext) 
     43# avoid pot files (gettext) 
    4444\.pot$ 
    45 \.po$ 
Note: See TracChangeset for help on using the changeset viewer.