mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-08-29 09:30:51 +00:00

modified: Changelog modified: Makefile.PL modified: config/sphinx-build/conf.py modified: docs/release_notes.rst
40 lines
1.1 KiB
Perl
40 lines
1.1 KiB
Perl
use ExtUtils::MakeMaker;
|
|
use ExtUtils::MY;
|
|
|
|
sub MY::postamble {
|
|
return <<'MAKE_GOTOOLS';
|
|
gotools:
|
|
cd src/go && $(MAKE) build
|
|
|
|
MAKE_GOTOOLS
|
|
}
|
|
|
|
WriteMakefile(
|
|
NAME => 'Percona::Toolkit',
|
|
VERSION => '3.7.0-2',
|
|
EXE_FILES => [
|
|
map {
|
|
(my $name = $_) =~ s/^bin.//;
|
|
my $file_name = $_;
|
|
if ( ( $file_name !~ m/mongo/ ) || ( $file_name !~ m/pg/ ) || ( $file_name !~ m/pt-stalk/ ) || ( $file_name !~ m/pt-k8s/ ) ) {
|
|
$_;
|
|
}
|
|
} <bin/*>
|
|
],
|
|
MAN1PODS => {
|
|
'docs/percona-toolkit.pod' => 'blib/man1/percona-toolkit.1p',
|
|
map {
|
|
(my $name = $_) =~ s/^bin.//;
|
|
my $file_name = $_;
|
|
if ( ( $file_name !~ m/mongo/ ) || ( $file_name !~ m/pg/ ) || ( $file_name !~ m/pt-stalk/ ) || ( $file_name !~ m/pt-k8s/ ) ) {
|
|
$_ => "blib/man1/$name.1p";
|
|
}
|
|
} <bin/*>
|
|
},
|
|
MAN3PODS => {}, # man(3) pages are for C libs
|
|
depend => {manifypods => gotools},
|
|
PREREQ_PM => {
|
|
DBI => 1.46,
|
|
DBD::mysql => 3.0000_0,
|
|
},
|
|
); |