File: Makefile.PL

package info (click to toggle)
libdata-password-perl 1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 120 kB
  • ctags: 18
  • sloc: perl: 123; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

sub MY::postamble {
        package MY;
        shift->SUPER::postamble . <<'MAKE';
distdir : README

README : Password.pm
	@$(PERL) -MPod::Text -e "pod2text('$<');" > $@

MAKE
}

WriteMakefile(
    'NAME'	=> 'Data::Password',
    'VERSION_FROM' => 'Password.pm', # finds $VERSION
    PREREQ_PM    => {
       'Test::More' => 0,
       'Exporter'   => 0,
    },
    
    'dist' => {'COMPRESS' => 'gzip --best --force'},
);