/[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 301 - (hide annotations)
Mon Dec 19 21:26:04 2005 UTC (18 years, 4 months ago) by dpavlin
File MIME type: text/plain
File size: 1531 byte(s)
 r322@athlon:  dpavlin | 2005-12-19 22:27:06 +0100
 make run.pl moderatly chatty (along with other modules), added command line options
 (try perldoc run.pl) new target index (to reindex all) and run (to index
 first 100 records of each database)

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 dpavlin 225 'Test::More' => 0,
13     'YAML' => 0,
14 dpavlin 3 'File::Slurp' => 0,
15     'Log::Log4perl' => 0,
16 dpavlin 4 'Data::Dumper' => 0,
17 dpavlin 9 'Cwd' => 0,
18     'Text::Iconv' => 0,
19 dpavlin 10 'Storable' => 0,
20     'DBM::Deep' => 0,
21 dpavlin 12 'XML::Simple' => 0,
22 dpavlin 16 'Template' => 0,
23     'Time::HiRes' => 0,
24 dpavlin 18 'File::Temp' => 0,
25 dpavlin 42 'List::Util' => 0,
26 dpavlin 199 'URI::Escape' => 0,
27 dpavlin 211 'LWP' => 0,
28 dpavlin 215 'File::Path' => 0,
29 dpavlin 298 'Biblio::Isis' => 0.13,
30     'MARC::Fast' => 0.02,
31 dpavlin 1 },
32     dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
33 dpavlin 7 clean => { FILES => 'WebPAC-* pod2html Makefile tags' },
34 dpavlin 1 );
35    
36     sub MY::postamble {
37     return <<'MAKE_MORE';
38    
39     HTML_DIR=pod2html
40    
41     html: $(TO_INST_PM)
42     test -e $(HTML_DIR) || mkdir $(HTML_DIR)
43    
44     test ! -z "`which allpod2xhtml.pl`" && allpod2xhtml.pl ./lib $(HTML_DIR)
45     test ! -z "`which svn2html.pl`" && svn update && svn2html.pl > $(HTML_DIR)/Changes.html
46    
47     changelog:
48     svn update && svn -v log > Changes
49    
50     tags:
51 dpavlin 7 ctags *.p[ml] */*.p[ml] */*/*.p[ml]
52 dpavlin 1
53 dpavlin 23 sf:
54     svn2cvs.pl file:///home/dpavlin/private/svn/webpac2/trunk/ :ext:dpavlin@cvs.sourceforge.net:/cvsroot/webpac webpac2
55    
56 dpavlin 301 config_yml:
57 dpavlin 145 test ! -e conf/config.yml && ln -s /data/Webpacus/config.yml conf/ || true
58 dpavlin 23
59 dpavlin 301 run: config_yml
60     ./run.pl --clean --limit 100
61    
62     index: config_yml
63     ./run.pl --clean
64    
65 dpavlin 1 MAKE_MORE
66     }

  ViewVC Help
Powered by ViewVC 1.1.26