mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
310adf0fab
(This used to be commit 5d09131cc8
)
18 lines
404 B
Perl
Executable File
18 lines
404 B
Perl
Executable File
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 -m 'Parse::Pidl::IDL' -o lib/Parse/Pidl/IDL.pm idl.yp
|
|
|
|
lib/Parse/Pidl/Expr.pm: expr.yp
|
|
yapp -m 'Parse::Pidl::Expr' -o lib/Parse/Pidl/Expr.pm expr.yp
|
|
EOT
|
|
}
|