Files
git/perl/Git/SVN/meson.build
Đoàn Trần Công Danh 5463c1d4f6 meson: allow customize perl installation path
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>
2025-05-08 07:29:37 -07:00

22 lines
379 B
Meson

foreach source : [
'Editor.pm',
'Fetcher.pm',
'GlobSpec.pm',
'Log.pm',
'Migration.pm',
'Prompt.pm',
'Ra.pm',
'Utils.pm',
]
test_dependencies += custom_target(
input: source,
output: source,
command: generate_perl_command,
install: true,
install_dir: perllibdir / 'Git/SVN',
depends: [git_version_file],
)
endforeach
subdir('Memoize')