use strict; use ExtUtils::MakeMaker qw( WriteMakefile ); use 5.006001; eval { require LWP::Simple; }; if ( $@ ) { print < 'HTML::Lint', DISTNAME => 'HTML-Lint', VERSION_FROM => 'lib/HTML/Lint.pm', ABSTRACT_FROM => 'lib/HTML/Lint.pm', PMLIBDIRS => [qw(lib/)], AUTHOR => 'Andy Lester ', PREREQ_PM => { 'Exporter' => 0, 'Test::More' => 0, 'Test::Builder' => 0, 'HTML::Parser' => '3.20', 'HTML::Tagset' => '3.03', 'File::Find' => 0, }, EXE_FILES => [qw(bin/weblint)], dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, clean => { FILES => 'HTML-Lint-*' }, ); if ( $ExtUtils::MakeMaker::VERSION =~ /^\d\.\d\d$/ and $ExtUtils::MakeMaker::VERSION > 6.30 ) { $parms{LICENSE} = 'perl'; } if ( $ExtUtils::MakeMaker::VERSION ge '6.36' ) { $parms{EXTRA_META} = <> /dev/null 2>&1 dprof: all $(PERL) -d:DProf $(PROF_ARGS) >> /dev/null 2>&1 dprofpp -R dproflb: all $(PERL) -d:DProfLB $(PROF_ARGS) >> /dev/null 2>&1 dprofpp -R fastprof: all $(PERL) -d:FastProf $(PROF_ARGS) >> /dev/null 2>&1 fprofpp profile: all $(PERL) -d:Profile $(PROF_ARGS) >> /dev/null 2>&1 less prof.out profiler: all $(PERL) -MDevel::Profiler $(PROF_ARGS) >> /dev/null 2>&1 dprofpp -R smallprof: all $(PERL) -d:SmallProf $(PROF_ARGS) >> /dev/null 2>&1 sort -k 2nr,2 smallprof.out | less nytprof: all $(PERL) -d:NYTProf $(PROF_ARGS) >> /dev/null 2>&1 nytprofhtml MAKE_FRAG return $postamble; }