use 5.004;
use ExtUtils::MakeMaker;
print <<"HERE";
-----------------------------------------------------------------------------
THIS IS A DEPRECATED MODULE
If you aren't already using this module, don't start.
Try another module, such as Pod::Simple::HTML
------------------------------------------------------------------------------
HERE
WriteMakefile(
'NAME' => 'PodToHTML',
'ABSTRACT' => 'Deprecated module to translate PodToHTML',
'EXE_FILES' => [qw(podtohtml)],
'clean' => {FILES => "*% *.bak *.old Pod/*% t/html/*"},
'linkext' => { LINKTYPE => ''},
'dist' => { COMPRESS => 'gzip -f9', SUFFIX => '.gz' },
'VERSION_FROM' => 'lib/Pod/HTML_Elements.pm',
'AUTHOR' => 'Nick Ing-Simmons (maintained by brian d foy <bdfoy@cpan.org>)',
'LICENSE' => 'perl',
PREREQ_PM => {
HTML::FormatPS => 0,
HTML::Element => 0,
HTML::Entities => 0,
HTML::AsSubs => 0,
Pod::Parser => 0,
},
);
package MY;
sub const_config
{
my $self = shift;
foreach my $name (grep /(%|\.(old|bak|q4))$/,keys %{$self->{PM}})
{
delete $self->{PM}->{$name};
}
return $self->SUPER::const_config;
}