/[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 458 - (show annotations)
Wed May 10 14:08:15 2006 UTC (17 years, 11 months ago) by dpavlin
File MIME type: text/plain
File size: 1571 byte(s)
 r575@llin:  dpavlin | 2006-05-10 16:10:56 +0200
 use Search::Estraier 0.06 new master API to create nodes, so code here is siplified

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' => 1.02,
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 'Encode' => 0,
27 'LWP' => 0,
28 'File::Path' => 0,
29 'Biblio::Isis' => 0.13,
30 'MARC::Fast' => 0.02,
31 'Search::Estraier' => 0.06,
32 },
33 dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
34 clean => { FILES => 'WebPAC-* pod2html Makefile tags' },
35 );
36
37 sub MY::postamble {
38 return <<'MAKE_MORE';
39
40 HTML_DIR=pod2html
41
42 html: $(TO_INST_PM)
43 test -e $(HTML_DIR) || mkdir $(HTML_DIR)
44
45 test ! -z "`which allpod2xhtml.pl`" && allpod2xhtml.pl ./lib $(HTML_DIR)
46 test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html
47
48 changelog:
49 svn update && svn -v log > Changes
50
51 tags:
52 ctags *.p[ml] */*.p[ml] */*/*.p[ml]
53
54 sf:
55 svn2cvs.pl file:///home/dpavlin/private/svn/webpac2/trunk/ :ext:dpavlin@cvs.sourceforge.net:/cvsroot/webpac webpac2
56
57 config_yml:
58 test ! -e conf/config.yml && ln -s /data/Webpacus/config.yml conf/ || true
59
60 run: config_yml
61 rm -f log
62 ./run.pl --clean --limit 100
63
64 full: config_yml
65 rm -f log
66 ./run.pl
67
68 MAKE_MORE
69 }

  ViewVC Help
Powered by ViewVC 1.1.26