22 lines
500 B
Perl
22 lines
500 B
Perl
use ExtUtils::MakeMaker;
|
|
|
|
WriteMakefile(
|
|
NAME => 'Peertube::DL',
|
|
VERSION => '0.1',
|
|
INST_SCRIPT => './bin',
|
|
INST_BIN => './bin',
|
|
test => { TESTS => 't/*.t' },
|
|
test => { TESTS => 't/*/*.t' },
|
|
DIR => [ 'src', 'javascript_interpreter_xs/' ],
|
|
);
|
|
|
|
sub MY::postamble {
|
|
'
|
|
src: src/Makefile
|
|
src && $(MAKE) $(PASSTHRU)
|
|
javascript_interpreter_xs: javascript_interpreter_xs/Makefile
|
|
cd javascript_interpreter_xs/ && $(MAKE) $(PASSTHRU)
|
|
';
|
|
}
|
|
|