-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.PL
More file actions
36 lines (33 loc) · 779 Bytes
/
Makefile.PL
File metadata and controls
36 lines (33 loc) · 779 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
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'p2',
VERSION_FROM => 'p2.pm',
PREREQ_PM => {},
SIGN => 1,
($ExtUtils::MakeMaker::VERSION gt '6.46' ?
('META_MERGE' =>
{
resources =>
{
repository => 'http://github.com/perl11/p2-pragma',
license => 'http://dev.perl.org/licenses/',
},
}
) : ()),
($] >= 5.005 ?
(ABSTRACT_FROM => 'p2.pm',
AUTHOR => 'Reini Urban <rurban@cpan.org>') : ()),
);
package MY;
sub depend {
"
README : \$(VERSION_FROM)
pod2text \$(VERSION_FROM) > README
release : README dist
git commit -a -m\"release \$(VERSION)\"
git tag \$(VERSION)
cpan-upload \$(DISTVNAME).tar\$(SUFFIX)
git push
git push --tags
"
}