use 5.008;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

# now write Makefile
WriteMakefile(
	NAME				=> 'Pg::Diff',
    VERSION_FROM		=> 'lib/Pg/Diff.pm', # finds $VERSION
    PREREQ_PM         => {
		'Carp' => 0,
		'Test::Simple' => 0,
		'Test::Exception' => 0,
		'URI' => 0,
		'LWP::UserAgent' => 0,
		'MIME::Base64' => 0,
		'URI::Escape' => 0,
    }, # e.g., Module::Name => 1.1
    ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
      (ABSTRACT_FROM  => 'lib/Pg/Diff.pm', # retrieve abstract from module
       AUTHOR         => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),
       clean	=> { FILES => "Makefile Makefile.old pod2html" },
);

sub MY::postamble {
	return <<'MAKE_MORE';

changelog:
	svk log -v > Changes

tags:
	ctags *.p?

cover:
	cover -delete
	HARNESS_PERL_SWITCHES=-MDevel::Cover make test
	cover

MAKE_MORE
}
