regenerate README when Makefile.PL is run by author
Dan Book authored 7 years ago
Karen Etheridge committed 7 years ago
93 | 93 |
];
|
94 | 94 |
|
95 | 95 |
WriteAll;
|
|
96 |
|
|
97 |
my $readme_from = 'lib/Module/Install.pod';
|
|
98 |
# pod2text is in https://metacpan.org/release/podlators
|
|
99 |
system("pod2text $readme_from > README")
|
|
100 |
if -f '.gitignore' and (not -e 'README' or (stat('README'))[9] < (stat($readme_from))[9]);
|