# $Id: Makefile.PL 1724 2006-10-17 13:55:27Z warly $ use ExtUtils::MakeMaker; WriteMakefile( NAME => 'youri-core', VERSION => 0.9.1, AUTHOR => 'Youri project ', PREREQ_PM => { 'AppConfig' => 0, 'YAML' => 0, 'Pod::Simple::HTMLBatch' => 0, 'Test::Exception' => 0, 'Exception' => 0, 'RPM4' => 0, 'URPM' => 0 } ); package MY; sub top_targets { my ($self) = @_; my $top_targets = $self->SUPER::top_targets(@_); $top_targets =~ s/all :: pure_all manifypods/all :: pure_all manifypods htmlifypods/; $top_targets .= <<'EOF'; htmlifypods : $(TO_INST_PM) if [ ! -d blib/html ]; then mkdir blib/html; fi perl -MPod::Simple::HTMLBatch -e Pod::Simple::HTMLBatch::go lib blib/html EOF return $top_targets; }