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

Contents of /trunk/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16 - (show annotations)
Sun Jul 17 11:37:07 2005 UTC (18 years, 9 months ago) by dpavlin
File MIME type: text/plain
File size: 1109 byte(s)
Added Output::WebPAC::TT to produce Template Toolkit output.

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

  ViewVC Help
Powered by ViewVC 1.1.26