2020-12-26 03:21:12 +01:00
|
|
|
use ExtUtils::MakeMaker;
|
|
|
|
|
|
|
|
WriteMakefile(
|
2020-12-26 03:27:17 +01:00
|
|
|
NAME => 'Peertube::DL',
|
|
|
|
VERSION => '0.1',
|
2020-12-29 02:29:42 +01:00
|
|
|
INST_SCRIPT => './bin',
|
2021-01-06 07:53:32 +01:00
|
|
|
INST_BIN => './bin',
|
2020-12-29 02:29:42 +01:00
|
|
|
test => { TESTS => 't/*.t' },
|
|
|
|
test => { TESTS => 't/*/*.t' },
|
2021-01-06 20:47:33 +01:00
|
|
|
DIR => [ 'src', 'javascript_interpreter_xs/' ],
|
2020-12-26 03:21:12 +01:00
|
|
|
);
|
2021-01-06 07:53:32 +01:00
|
|
|
|
|
|
|
sub MY::postamble {
|
|
|
|
'
|
|
|
|
src: src/Makefile
|
2021-01-06 20:47:33 +01:00
|
|
|
src && $(MAKE) $(PASSTHRU)
|
2021-01-06 07:53:32 +01:00
|
|
|
javascript_interpreter_xs: javascript_interpreter_xs/Makefile
|
|
|
|
cd javascript_interpreter_xs/ && $(MAKE) $(PASSTHRU)
|
|
|
|
';
|
|
|
|
}
|
2021-01-06 20:47:33 +01:00
|
|
|
|