r1386@llin: dpavlin | 2007-10-30 23:46:53 +0100
[webpac2] / Makefile.PL
index 0dcc728..00ff13d 100644 (file)
@@ -13,7 +13,6 @@ WriteMakefile(
        'YAML' => 0,
        'File::Slurp' => 0,
        'Log::Log4perl' => 1.02,
-       'Data::Dumper' => 0,
        'Cwd' => 0,
        'Storable' => 0,
        'DBM::Deep' => 0,
@@ -25,7 +24,7 @@ WriteMakefile(
        'LWP' => 0,
        'File::Path' => 0,
        'Biblio::Isis' => 0.24,
-       'MARC::Fast' => 0.05,
+       'MARC::Fast' => 0.08,
        'Search::Estraier' => 0.06,
        'List::Util' => 0,
        'Spreadsheet::ParseExcel', => 0,
@@ -36,6 +35,10 @@ WriteMakefile(
        'PPI' => 0,
        'XML::LibXML' => 0,
        'Pod::Usage' => 0,
+       'Class::Accessor' => 0,
+       'JSON' => 0,
+       'File::Spec' => 0,
+       'Sort::External' => 0,
     },
     dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
     clean               => { FILES => 'WebPAC-* pod2html Makefile tags' },
@@ -45,7 +48,12 @@ sub MY::postamble {
        return <<'MAKE_MORE';
 
 HTML_DIR=pod2html
-profile_perl=./run.pl
+# no need to include --limit here!
+#profile_perl=./run.pl --only ffps --stats
+#profile_perl=./run.pl --only ffps/libri --validate conf/validate/ffps-libri
+#profile_perl=./run.pl --only ffps --validate-delimiters conf/validate/delimiters/ffps
+profile_perl=./run.pl --only ffps --validate conf/validate/ffps-libri --validate-delimiters conf/validate/delimiters/ffps
+
 
 html: $(TO_INST_PM)
        test -e $(HTML_DIR) && rm -Rf "$(HTML_DIR)" || true
@@ -65,7 +73,7 @@ tags:
        ctags *.p[ml] */*.p[ml] */*/*.p[ml]
 
 sf:
-       svn2cvs.pl file:///home/dpavlin/private/svn/webpac2/trunk/ :ext:dpavlin@cvs.sourceforge.net:/cvsroot/webpac webpac2
+       svn2cvs.pl file:///home/dpavlin/private/svn/webpac2/trunk/ :ext:dpavlin@webpac.cvs.sourceforge.net:/cvsroot/webpac webpac2
 
 config_yml:
        test ! -e conf/config.yml && ln -s /data/Webpacus/config.yml conf/ || true
@@ -80,8 +88,8 @@ full: config_yml
        rm -f log
        ./run.pl
 
-profile:
-       perl -d:DProf $(profile_perl) --limit 500 && dprofpp > profile.`perl -e 'my @p = glob("profile.[0-9]*"); print scalar @p + 1'`
+profile: all
+       perl -d:DProf $(profile_perl) --limit 250 && dprofpp -O 50 > profile.`perl -e 'my @p = glob("profile.[0-9]*"); print scalar @p + 1'`
 
 profile2:
        perl -d:SmallProf $(profile_perl) --limit 100 && sort -k 2nr,2 smallprof.out | vi -R -