/[webpac2]/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 1 - (hide annotations)
Sat Jun 25 20:23:23 2005 UTC (18 years, 10 months ago) by dpavlin
File MIME type: text/plain
File size: 860 byte(s)
initial import of some documentation and module structure

1 dpavlin 1 use strict;
2     use warnings;
3     use ExtUtils::MakeMaker;
4    
5     WriteMakefile(
6     NAME => 'WebPAC',
7     AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>',
8     VERSION_FROM => 'lib/WebPAC.pm',
9     ABSTRACT_FROM => 'lib/WebPAC.pm',
10     PL_FILES => {},
11     PREREQ_PM => {
12     'Test::More' => 0,
13     },
14     dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
15     clean => { FILES => 'WebPAC-* pod2html Makefile' },
16     );
17    
18     sub MY::postamble {
19     return <<'MAKE_MORE';
20    
21     HTML_DIR=pod2html
22    
23     html: $(TO_INST_PM)
24     test -e $(HTML_DIR) || mkdir $(HTML_DIR)
25    
26     test ! -z "`which allpod2xhtml.pl`" && allpod2xhtml.pl ./lib $(HTML_DIR)
27     test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html
28    
29     changelog:
30     svn update && svn -v log > Changes
31    
32     tags:
33     ctags *.p?
34    
35     MAKE_MORE
36     }

  ViewVC Help
Powered by ViewVC 1.1.26