-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.PL
38 lines (35 loc) · 986 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
use 5.010;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Preproc::Tiny',
VERSION_FROM => 'lib/Preproc/Tiny.pm',
PREREQ_PM => {},
BUILD_REQUIRES => {
'Test::More' => 0,
'Capture::Tiny' => 0,
'Path::Tiny' => 0,
'Test::Differences' => 0,
},
($] >= 5.005 ?
(ABSTRACT_FROM => 'lib/Preproc/Tiny.pm',
AUTHOR => 'Paulo Custodio, <[email protected]>',
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'https://github.com/pauloscustodio/perl-Preproc-Tiny.git',
web => 'https://github.com/pauloscustodio/perl-Preproc-Tiny',
},
},
}) : ()),
);
sub MY::postamble {
return q{
pure_all :: $(INST_BIN)$(DFSEP)pp.pl
$(INST_BIN)$(DFSEP)pp.pl : \
lib$(DFSEP)Preproc$(DFSEP)Tiny.pm \
$(FIRST_MAKEFILE)
$(PERLRUNINST) -MExtUtils::Command -e cp lib$(DFSEP)Preproc$(DFSEP)Tiny.pm $(INST_BIN)$(DFSEP)pp.pl
};
}