/[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 235 - (show annotations)
Tue Dec 6 22:15:33 2005 UTC (18 years, 4 months ago) by dpavlin
File MIME type: text/plain
File size: 1452 byte(s)
 r247@athlon:  dpavlin | 2005-12-06 23:20:04 +0100
 cleanup

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 'YAML' => 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 'File::Temp' => 0,
25 'List::Util' => 0,
26 'URI::Escape' => 0,
27 'LWP' => 0,
28 'File::Path' => 0,
29 },
30 dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
31 clean => { FILES => 'WebPAC-* pod2html Makefile tags' },
32 );
33
34 sub MY::postamble {
35 return <<'MAKE_MORE';
36
37 HTML_DIR=pod2html
38
39 html: $(TO_INST_PM)
40 test -e $(HTML_DIR) || mkdir $(HTML_DIR)
41
42 test ! -z "`which allpod2xhtml.pl`" && allpod2xhtml.pl ./lib $(HTML_DIR)
43 test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html
44
45 changelog:
46 svn update && svn -v log > Changes
47
48 tags:
49 ctags *.p[ml] */*.p[ml] */*/*.p[ml]
50
51 sf:
52 svn2cvs.pl file:///home/dpavlin/private/svn/webpac2/trunk/ :ext:dpavlin@cvs.sourceforge.net:/cvsroot/webpac webpac2
53
54 run:
55 rm -f log
56 test ! -e conf/config.yml && ln -s /data/Webpacus/config.yml conf/ || true
57 test -d db && rm -Rf db/* || mkdir db
58 ./run.pl
59
60 MAKE_MORE
61 }

  ViewVC Help
Powered by ViewVC 1.1.26