1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use ExtUtils::MakeMaker; WriteMakefile( 'NAME' => 'Parse::Pidl', 'VERSION_FROM' => 'lib/Parse/Pidl.pm', 'EXE_FILES' => [ 'pidl' ], 'test' => { 'TESTS' => 'tests/*.pl' } ); sub MY::postamble { <<'EOT'; lib/Parse/Pidl/IDL.pm: idl.yp yapp -s -m 'Parse::Pidl::IDL' -o lib/Parse/Pidl/IDL.pm idl.yp EOT }