/[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

Contents of /trunk/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24 - (show annotations)
Thu Oct 7 16:26:31 2004 UTC (19 years, 6 months ago) by dpavlin
File MIME type: text/plain
File size: 1074 byte(s)
fix MANIFEST, better clean

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

  ViewVC Help
Powered by ViewVC 1.1.26