9 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
10 |
(ABSTRACT_FROM => 'Split.pm', # retrieve abstract from module |
(ABSTRACT_FROM => 'Split.pm', # retrieve abstract from module |
11 |
AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()), |
AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()), |
12 |
|
depend => { |
13 |
|
dist => 'changelog', |
14 |
|
}, |
15 |
); |
); |
16 |
|
|
17 |
|
sub MY::postamble { |
18 |
|
return <<'MAKE_MORE'; |
19 |
|
|
20 |
|
HTML_DIR=pod2html |
21 |
|
|
22 |
|
html: $(TO_INST_PM) |
23 |
|
test -e $(HTML_DIR) || mkdir $(HTML_DIR) |
24 |
|
ls $(MAN1PODS) $(MAN3PODS) | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.p[lm] --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)" |
25 |
|
rm -f pod2htm?.tmp |
26 |
|
test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html |
27 |
|
|
28 |
|
changelog: |
29 |
|
svn update && svn -v log > Changes |
30 |
|
|
31 |
|
MAKE_MORE |
32 |
|
} |