1 |
use 5.008; |
2 |
use ExtUtils::MakeMaker; |
3 |
# See lib/ExtUtils/MakeMaker.pm for details of how to influence |
4 |
# the contents of the Makefile that is written. |
5 |
|
6 |
WriteMakefile( |
7 |
NAME => 'Vrac', |
8 |
VERSION_FROM => 'Vrac.pm', # finds $VERSION |
9 |
PREREQ_PM => { |
10 |
'Class::Accessor' => 0, |
11 |
'Data::Dump' => 0, |
12 |
'Carp' => 0, |
13 |
'Test::Exception' => 0, |
14 |
'SDL' => '2.1.2', |
15 |
}, # e.g., Module::Name => 1.1 |
16 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
17 |
(ABSTRACT_FROM => 'Vrac.pm', # retrieve abstract from module |
18 |
AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()), |
19 |
LIBS => [''], |
20 |
DEFINE => '', |
21 |
INC => '', |
22 |
clean => { |
23 |
'FILES' => 'html', |
24 |
}, |
25 |
); |
26 |
|
27 |
sub MY::postamble { |
28 |
return <<"MAKE_FRAG"; |
29 |
|
30 |
html: all |
31 |
test -d html || mkdir html |
32 |
allpod2xhtml.pl \$(INST_LIB) html |
33 |
|
34 |
MAKE_FRAG |
35 |
} |
36 |
|