/[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

Diff of /trunk/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 301 by dpavlin, Mon Dec 19 21:26:04 2005 UTC revision 498 by dpavlin, Sun May 14 19:45:45 2006 UTC
# Line 12  WriteMakefile( Line 12  WriteMakefile(
12          'Test::More' => 0,          'Test::More' => 0,
13          'YAML' => 0,          'YAML' => 0,
14          'File::Slurp' => 0,          'File::Slurp' => 0,
15          'Log::Log4perl' => 0,          'Log::Log4perl' => 1.02,
16          'Data::Dumper' => 0,          'Data::Dumper' => 0,
17          'Cwd' => 0,          'Cwd' => 0,
18          'Text::Iconv' => 0,          'Text::Iconv' => 0,
# Line 23  WriteMakefile( Line 23  WriteMakefile(
23          'Time::HiRes' => 0,          'Time::HiRes' => 0,
24          'File::Temp' => 0,          'File::Temp' => 0,
25          'List::Util' => 0,          'List::Util' => 0,
26          'URI::Escape' => 0,          'Encode' => 0,
27          'LWP' => 0,          'LWP' => 0,
28          'File::Path' => 0,          'File::Path' => 0,
29          'Biblio::Isis' => 0.13,          'Biblio::Isis' => 0.13,
30          'MARC::Fast' => 0.02,          'MARC::Fast' => 0.02,
31            'Search::Estraier' => 0.06,
32            'List::Util' => 0,
33            'Spreadsheet::ParseExcel', => 0,
34      },      },
35      dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },      dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
36      clean               => { FILES => 'WebPAC-* pod2html Makefile tags' },      clean               => { FILES => 'WebPAC-* pod2html Makefile tags' },
# Line 37  sub MY::postamble { Line 40  sub MY::postamble {
40          return <<'MAKE_MORE';          return <<'MAKE_MORE';
41    
42  HTML_DIR=pod2html  HTML_DIR=pod2html
43    profile_perl=./run.pl
44    
45  html: $(TO_INST_PM)  html: $(TO_INST_PM)
46          test -e $(HTML_DIR) || mkdir $(HTML_DIR)          test -e $(HTML_DIR) || mkdir $(HTML_DIR)
# Line 57  config_yml: Line 61  config_yml:
61          test ! -e conf/config.yml && ln -s /data/Webpacus/config.yml conf/ || true          test ! -e conf/config.yml && ln -s /data/Webpacus/config.yml conf/ || true
62    
63  run: config_yml  run: config_yml
64            rm -f log
65          ./run.pl --clean --limit 100          ./run.pl --clean --limit 100
66    
67  index: config_yml  full: config_yml
68          ./run.pl --clean          rm -f log
69            ./run.pl
70    
71    profile:
72            perl -d:DProf $(profile_perl) --limit 500 && dprofpp > profile.`perl -e 'my @p = glob("profile.[0-9]*"); print scalar @p + 1'`
73    
74    profile2:
75            perl -d:SmallProf $(profile_perl) --limit 100 && sort -k 2nr,2 smallprof.out | vi -R -
76    
77  MAKE_MORE  MAKE_MORE
78  }  }

Legend:
Removed from v.301  
changed lines
  Added in v.498

  ViewVC Help
Powered by ViewVC 1.1.26