4 |
# the contents of the Makefile that is written. |
# the contents of the Makefile that is written. |
5 |
|
|
6 |
WriteMakefile( |
WriteMakefile( |
7 |
NAME => 'Vrac', |
NAME => 'VRac', |
8 |
VERSION_FROM => 'Vrac.pm', # finds $VERSION |
VERSION_FROM => 'VRac.pm', # finds $VERSION |
9 |
PREREQ_PM => { |
PREREQ_PM => { |
10 |
'Class::Accessor' => 0, |
'Class::Accessor' => 0, |
11 |
'Data::Dump' => 0, |
'Data::Dump' => 0, |
12 |
'Carp' => 0, |
'Carp' => 0, |
13 |
'Test::Exception' => 0, |
'Test::Exception' => 0, |
14 |
'SDL' => '2.1.2', |
'SDL' => 2.001002, |
15 |
}, # e.g., Module::Name => 1.1 |
}, # e.g., Module::Name => 1.1 |
16 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
17 |
(ABSTRACT_FROM => 'Vrac.pm', # retrieve abstract from module |
(ABSTRACT_FROM => 'VRac.pm', # retrieve abstract from module |
18 |
AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()), |
AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()), |
19 |
LIBS => [''], |
LIBS => [''], |
20 |
DEFINE => '', |
DEFINE => '', |
21 |
INC => '', |
INC => '', |
22 |
clean => { |
clean => { |
23 |
'FILES' => 'html', |
'FILES' => 'html docs/pod2htm?.tmp', |
24 |
}, |
}, |
25 |
); |
); |
26 |
|
|
27 |
sub MY::postamble { |
sub MY::postamble { |
28 |
return <<"MAKE_FRAG"; |
return <<"MAKE_FRAG"; |
29 |
|
|
30 |
|
orao: all |
31 |
|
perl -Mblib -MOrao -le 'Orao->new->run;' |
32 |
|
|
33 |
|
galaksija: all |
34 |
|
perl -Mblib -MGalaksija -le 'Galaksija->new->run;' |
35 |
|
|
36 |
html: all |
html: all |
37 |
test -d html || mkdir html |
test -d html || mkdir html |
38 |
allpod2xhtml.pl \$(INST_LIB) html |
allpod2xhtml.pl \$(INST_LIB) html |