1 |
dpavlin |
1 |
use 5.008004; |
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 |
|
|
WriteMakefile( |
6 |
|
|
NAME => 'jsFind', |
7 |
|
|
VERSION_FROM => 'jsFind.pm', # finds $VERSION |
8 |
|
|
PREREQ_PM => {}, # e.g., Module::Name => 1.1 |
9 |
|
|
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
10 |
|
|
(ABSTRACT_FROM => 'jsFind.pm', # retrieve abstract from module |
11 |
|
|
AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()), |
12 |
|
|
); |
13 |
|
|
|
14 |
|
|
# new target to create png files from GraphViz's dot files created by test |
15 |
|
|
|
16 |
|
|
sub MY::postamble { |
17 |
dpavlin |
3 |
return <<'MAKE_MORE'; |
18 |
dpavlin |
1 |
#png: tree.png words.png |
19 |
|
|
png: tree.png |
20 |
|
|
|
21 |
|
|
tree.png: tree.dot |
22 |
|
|
dot -Tpng -o tree.png tree.dot |
23 |
|
|
|
24 |
|
|
#words.png: words.dot |
25 |
|
|
# dot -Tpng -o words.png words.dot |
26 |
dpavlin |
3 |
|
27 |
dpavlin |
12 |
html: blib/lib/jsFind.pm all |
28 |
|
|
pod2html blib/lib/jsFind.pm jsFind.html |
29 |
dpavlin |
3 |
|
30 |
|
|
MAKE_MORE |
31 |
dpavlin |
1 |
} |