use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    NAME         => 'MARC::Fast',
    VERSION_FROM => 'Fast.pm', # finds $VERSION
    AUTHOR       => 'Dobrica Pavlinusic (dpavlin@rot13.org)',
    ABSTRACT     => '',
    PREREQ_PM    => {
	'Test::Simple' => 0.44,
	'Test::Exception' => 0,
	'Data::Dump' => 0,
	'Carp' => 0,
    },
);

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

changelog:
	svk update && svk log -v > Changes

cpan:
	make clean
	rm -f MARC-Fast-*.tar.gz
	perl Makefile.PL
	make changelog
	make dist
	make disttest
	@echo
	@echo -n "Upload" MARC-Fast-*.tar.gz "to CPAN? [y/N]:"
	@read upload && test "$$upload" == "y" && cpan-upload -verbose MARC-Fast-*.tar.gz

MAKE_MORE
}
