/[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 7 - (hide annotations)
Sat Jul 16 16:00:19 2005 UTC (18 years, 9 months ago) by dpavlin
File MIME type: text/plain
File size: 978 byte(s)
lookups cleanup

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 dpavlin 3 'Config::Tiny' => 0,
14     'File::Slurp' => 0,
15     'Log::Log4perl' => 0,
16 dpavlin 4 'Data::Dumper' => 0,
17 dpavlin 1 },
18     dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
19 dpavlin 7 clean => { FILES => 'WebPAC-* pod2html Makefile tags' },
20 dpavlin 1 );
21    
22     sub MY::postamble {
23     return <<'MAKE_MORE';
24    
25     HTML_DIR=pod2html
26    
27     html: $(TO_INST_PM)
28     test -e $(HTML_DIR) || mkdir $(HTML_DIR)
29    
30     test ! -z "`which allpod2xhtml.pl`" && allpod2xhtml.pl ./lib $(HTML_DIR)
31     test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html
32    
33     changelog:
34     svn update && svn -v log > Changes
35    
36     tags:
37 dpavlin 7 ctags *.p[ml] */*.p[ml] */*/*.p[ml]
38 dpavlin 1
39     MAKE_MORE
40     }

  ViewVC Help
Powered by ViewVC 1.1.26