File: Makefile.PL

package info (click to toggle)
libtext-diff-perl 0.35-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 112 kB
  • ctags: 35
  • sloc: perl: 949; makefile: 35
file content (20 lines) | stat: -rw-r--r-- 394 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use ExtUtils::MakeMaker;

use strict ;

WriteMakefile(
    'NAME'          => 'Text::Diff',
    'VERSION_FROM'  => 'lib/Text/Diff.pm',
    'PREREQ_PM'     => {
        'Algorithm::Diff'  => 0,
    },
);

sub MY::libscan {
   package MY ;
   my $self = shift ;
   my ( $path ) = @_ ;
   return '' if /\.sw[a-z]$/ ;
   return '' unless length $self->SUPER::libscan( $path ) ;
   return $path ;
}