Some distros, notably Fedora, want to install non-core Perl libraries into specific directory, namely /usr/share/perl5/vendor_perl. The Makefile build system allows this by overriding perllibdir variable, let's make meson works on par with our Makefile. Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
20 lines
347 B
Meson
20 lines
347 B
Meson
foreach source : [
|
|
'I18N.pm',
|
|
'IndexInfo.pm',
|
|
'LoadCPAN.pm',
|
|
'Packet.pm',
|
|
'SVN.pm',
|
|
]
|
|
test_dependencies += custom_target(
|
|
input: source,
|
|
output: source,
|
|
command: generate_perl_command,
|
|
install: true,
|
|
install_dir: perllibdir / 'Git',
|
|
depends: [git_version_file],
|
|
)
|
|
endforeach
|
|
|
|
subdir('LoadCPAN')
|
|
subdir('SVN')
|