use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    'NAME'	=> 'Parse::Yapp',
    # CORRELATION #py001: $VERSION must be changed in both Parse::Yapp & Parse::Yapp::Driver
    'VERSION_FROM' => 'lib/Parse/Yapp/Driver.pm',
	'EXE_FILES' => [ 'yapp' ],
);

sub MY::postamble {
<<'EOT';
YAPPPARSE = lib/Parse/Yapp/Parse.pm

$(YAPPPARSE) :: YappParse.yp
	$(PERL) -I./lib yapp -m 'Parse::Yapp::Parse' -o 'lib/Parse/Yapp/Parse.pm' YappParse.yp
EOT
}
