r1321@llin: dpavlin | 2007-09-03 10:18:09 +0200
[webpac2] / Makefile.PL
index eefce45..c0bfcf9 100644 (file)
@@ -24,8 +24,8 @@ WriteMakefile(
        'Encode' => 0,
        'LWP' => 0,
        'File::Path' => 0,
-       'Biblio::Isis' => 0.23,
-       'MARC::Fast' => 0.02,
+       'Biblio::Isis' => 0.24,
+       'MARC::Fast' => 0.05,
        'Search::Estraier' => 0.06,
        'List::Util' => 0,
        'Spreadsheet::ParseExcel', => 0,
@@ -33,6 +33,11 @@ WriteMakefile(
        'Data::Dump' => 0,
        'MARC::Lint' => 0,
        'Proc::Queue' => 0,
+       'PPI' => 0,
+       'XML::LibXML' => 0,
+       'Pod::Usage' => 0,
+       'Class::Accessor' => 0,
+       'JSON' => 0,
     },
     dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
     clean               => { FILES => 'WebPAC-* pod2html Makefile tags' },
@@ -42,7 +47,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
@@ -77,8 +87,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 -