~ubuntu-branches/ubuntu/lucid/libtest-www-mechanize-perl/lucid

« back to all changes in this revision

Viewing changes to Makefile.PL

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2008-03-17 02:27:43 UTC
  • mfrom: (1.1.3 upstream) (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080317022743-0juvqm5dx5zo70bj
Tags: 1.20-1
* New upstream release.
* debian/copyright: update years of copyright.
* debian/rules: let install-stamp target depend on build-stamp.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
use warnings;
3
3
use ExtUtils::MakeMaker;
4
4
 
5
 
WriteMakefile(
 
5
my $parms = {
6
6
    NAME                => 'Test::WWW::Mechanize',
7
7
    AUTHOR              => 'Andy Lester <andy@petdance.com>',
8
8
    VERSION_FROM        => 'Mechanize.pm',
19
19
    },
20
20
    dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
21
21
    clean               => { FILES => 'Test-WWW-Mechanize-*' },
22
 
);
 
22
};
 
23
 
 
24
if ( $ExtUtils::MakeMaker::VERSION eq '6.36' ) {
 
25
    $parms->{EXTRA_META} = <<EOF;
 
26
resources:
 
27
    homepage: http://code.google.com/p/www-mechanize/
 
28
    bugtracker: http://code.google.com/p/www-mechanize/issues/list
 
29
EOF
 
30
    }
 
31
 
 
32
WriteMakefile( %{$parms} );
 
33
 
23
34
 
24
35
sub MY::postamble {
25
36
    return <<'MAKE_FRAG';
26
37
.PHONY: critic tags
27
38
 
28
39
critic:
29
 
        perlcritic -1 -q -profile perlcriticrc bin/ lib/ t/
 
40
        perlcritic -1 -q -profile perlcriticrc Mechanize.pm t/
30
41
 
31
42
tags:
32
43
        ctags -f tags --recurse --totals \