-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
40 lines (38 loc) · 850 Bytes
/
Makefile.PL
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
use strict;
use warnings;
use 5.018;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'finddup',
AUTHOR => 'Bernhard Waldbrunner <vbwx01@gmail.com>',
ABSTRACT => 'Finds duplicated files fast and efficiently',
VERSION_FROM => 'finddup',
LICENSE => 'mit',
PREREQ_PM => {
'Text::Glob' => '0.11',
'Sort::Key' => '1.33',
},
EXE_FILES => ['finddup'],
META_MERGE => {
'meta-spec' => {version => 2},
resources => {
repository => {
type => 'git',
url => 'https://github.com/vbwx/finddup.git',
web => 'https://github.com/vbwx/finddup'
},
bugtracker => {web => 'https://github.com/vbwx/finddup/issues'},
homepage => 'https://vbwx.github.io/finddup'
}
}
);
sub MY::postamble {
local $/;
my $mk = '';
for (qw(lint.mk manual.mk)) {
open(my $f, '<:unix', "include/$_");
$mk .= <$f>;
close $f;
}
return $mk;
}