/[SWISH-PlusPlus]/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 3 - (hide annotations)
Fri Dec 3 15:23:23 2004 UTC (17 years, 5 months ago) by dpavlin
File MIME type: text/plain
File size: 958 byte(s)
- API change to be more line Plucene::Simple
- check_bin method to find and verify swish++ binaries
- make html target

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 => 'SWISH::PlusPlus',
7     VERSION_FROM => 'PlusPlus.pm', # finds $VERSION
8 dpavlin 3 PREREQ_PM => {
9     'Carp' => 0,
10     }, # e.g., Module::Name => 1.1
11 dpavlin 1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005
12     (ABSTRACT_FROM => 'PlusPlus.pm', # retrieve abstract from module
13     AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),
14 dpavlin 3 depend => {
15     dist => 'changelog',
16     },
17 dpavlin 1 );
18 dpavlin 3
19     sub MY::postamble {
20     return <<'MAKE_MORE';
21    
22     HTML_DIR=pod2html
23    
24     html: $(TO_INST_PM)
25     test -e $(HTML_DIR) || mkdir $(HTML_DIR)
26     ls $(MAN1PODS) $(MAN3PODS) | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.p[lm] --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)"
27     rm -f pod2htm?.tmp
28    
29     changelog:
30     svn update && svn -v log > Changes
31    
32     MAKE_MORE
33     }

  ViewVC Help
Powered by ViewVC 1.1.26