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>
14 lines
264 B
Meson
14 lines
264 B
Meson
test_dependencies += custom_target(
|
|
input: 'Git.pm',
|
|
output: 'Git.pm',
|
|
command: generate_perl_command,
|
|
install: true,
|
|
install_dir: perllibdir,
|
|
depends: [git_version_file],
|
|
)
|
|
|
|
subdir('Git')
|
|
if get_option('perl_cpan_fallback')
|
|
subdir('FromCPAN')
|
|
endif
|