File: Makefile.PL

package info (click to toggle)
libhtml-linkextractor-perl 0.130-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 112 kB
  • sloc: perl: 270; makefile: 2
file content (23 lines) | stat: -rwxr-xr-x 871 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    'NAME'		=> 'HTML::LinkExtractor',
    'VERSION_FROM'	=> 'LinkExtractor.pm', # finds $VERSION

    PREREQ_PM   => {
#        'HTML::TokeParser::Simple'	=> '2', # or a minimum workable version
        'HTML::TokeParser'  => 0,
    },

    ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
      (ABSTRACT_FROM => 'LinkExtractor.pm', # retrieve abstract from module
       AUTHOR     => 'PodMaster') : ()),
);

__END__
perl Makefile.PL && nmake realclean && cls && perl Makefile.PL && nmake disttest
nmake dist TAR=ptar TARFLAGS=-zcvf COMPRESS=echo
perl -e"my $f=glob q,*.tar,;warn rename $f, qq,$f.gz,"
chmod 7777 *.gz
perl -le" `cpan-upload $_` for( (sort glob q,*.gz,)[-1]) "