/[jsFind]/trunk/Makefile.PL
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14 - (hide annotations)
Sat Aug 28 15:19:22 2004 UTC (19 years, 8 months ago) by dpavlin
File MIME type: text/plain
File size: 1027 byte(s)
final touches before first release to CPAN

1 dpavlin 14 use 5.005;
2 dpavlin 1 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 dpavlin 14 PREREQ_PM => {
9     'Carp' => 0,
10     'File::Path' => 0,
11     'HTML::Entities' => 0,
12     'Text::Iconv' => 0,
13     },
14 dpavlin 1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005
15     (ABSTRACT_FROM => 'jsFind.pm', # retrieve abstract from module
16     AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),
17     );
18    
19     # new target to create png files from GraphViz's dot files created by test
20    
21     sub MY::postamble {
22 dpavlin 3 return <<'MAKE_MORE';
23 dpavlin 1 #png: tree.png words.png
24     png: tree.png
25    
26     tree.png: tree.dot
27     dot -Tpng -o tree.png tree.dot
28    
29     #words.png: words.dot
30     # dot -Tpng -o words.png words.dot
31 dpavlin 3
32 dpavlin 12 html: blib/lib/jsFind.pm all
33     pod2html blib/lib/jsFind.pm jsFind.html
34 dpavlin 3
35 dpavlin 14 clean ::
36     rm tree.* words.*
37     cd html && rm -Rf entities entities-utf8/ lorem/ words/
38    
39 dpavlin 3 MAKE_MORE
40 dpavlin 1 }

  ViewVC Help
Powered by ViewVC 1.1.26