use 5.000; use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( NAME => 'SGML::DTDParse', ABSTRACT => 'Parse SGML and XML DTDs', VERSION_FROM => 'lib/SGML/DTDParse.pm', PREREQ_PM => { Text::DelimMatch => 1.05, XML::Parser => 2.25, XML::DOM => 1.43, Getopt::Long => 0, }, EXE_FILES => [qw( bin/dtddiff bin/dtddiff2html bin/dtdflatten bin/dtdformat bin/dtdparse )], PMLIBDIRS => [ 'lib' ], 'dist' => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, ); package MY; # Add removal of HTML docs to clean target sub clean { my $inherited = shift->SUPER::clean(@_); $inherited .= "\t".'$(RM_RF) doc/pod2htm* doc/html example'."\n"; $inherited; } # Create htmldoc target sub postamble { return <