-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.PL
More file actions
42 lines (31 loc) · 771 Bytes
/
Makefile.PL
File metadata and controls
42 lines (31 loc) · 771 Bytes
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# -*- perl -*-
#
# $Id: Makefile.PL,v 1.2 1999/08/12 14:28:53 joe Exp $
#
use ExtUtils::MakeMaker;
my %opts = (
'NAME' => 'Net::Daemon',
'VERSION_FROM' => 'lib/Net/Daemon.pm', # finds $VERSION
'dist' => { 'DIST_DEFAULT' => q[all tardist],
'COMPRESS' => q[gzip -9vf],
'SUFFIX' => q[.gz]
},
'realclean' => { 'FILES' => 't/config ndtest.prt' }
);
if ($ExtUtils::MakeMaker::VERSION >= 5.43) {
$opts{ABSTRACT_FROM} = 'lib/Net/Daemon.pm';
$opts{AUTHOR} = 'Jochen Wiedmann (joe@ispsoft.de)';
}
WriteMakefile(%opts);
package MY;
sub libscan {
my ($self, $path) = @_;
($path =~ /\~$/) ? undef : $path;
}
sub postamble {
qq{
pm_to_blib: README
README: lib/Net/Daemon.pm
\tpod2text lib/Net/Daemon.pm >README
}
}