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

Diff of /trunk/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1 by dpavlin, Fri Dec 3 13:31:43 2004 UTC revision 16 by dpavlin, Sun Dec 5 21:06:48 2004 UTC
# Line 5  use ExtUtils::MakeMaker; Line 5  use ExtUtils::MakeMaker;
5  WriteMakefile(  WriteMakefile(
6      NAME              => 'SWISH::PlusPlus',      NAME              => 'SWISH::PlusPlus',
7      VERSION_FROM      => 'PlusPlus.pm', # finds $VERSION      VERSION_FROM      => 'PlusPlus.pm', # finds $VERSION
8      PREREQ_PM         => {}, # e.g., Module::Name => 1.1      PREREQ_PM         => {
9            'Carp' => 0,
10            'File::Temp' => 0,
11            'BerkeleyDB' => 0,
12        }, # e.g., Module::Name => 1.1
13      ($] >= 5.005 ?     ## Add these new keywords supported since 5.005      ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
14        (ABSTRACT_FROM  => 'PlusPlus.pm', # retrieve abstract from module        (ABSTRACT_FROM  => 'PlusPlus.pm', # retrieve abstract from module
15         AUTHOR         => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),         AUTHOR         => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),
16        depend => {
17               dist => 'changelog',
18        },
19  );  );
20    
21    sub MY::postamble {
22            return <<'MAKE_MORE';
23    
24    HTML_DIR=pod2html
25    
26    html: $(TO_INST_PM)
27            test -e $(HTML_DIR) || mkdir $(HTML_DIR)
28            ls $(MAN1PODS) $(MAN3PODS) | cut -d. -f1 | xargs -i sh -c "pod2html --infile {}.p[lm] --outfile $(HTML_DIR)/{}.html --htmldir $(HTML_DIR)"
29            rm -f pod2htm?.tmp
30            test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html
31    
32    changelog:
33            svn update && svn -v log > Changes
34    
35    MAKE_MORE
36    }

Legend:
Removed from v.1  
changed lines
  Added in v.16

  ViewVC Help
Powered by ViewVC 1.1.26