diff options
| author | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2025-05-08 15:24:40 +0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-05-08 07:29:37 -0700 |
| commit | 5463c1d4f6d03e63ee79bd822de667090f015356 (patch) | |
| tree | 41f4c2fee641db951c2146a601343bf915d4b4ef /perl/Git/LoadCPAN | |
| parent | a2955b34f48265d240ab8c7deb0a929ec2d65fd0 (diff) | |
| download | git-5463c1d4f6d03e63ee79bd822de667090f015356.tar.gz | |
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>
Diffstat (limited to 'perl/Git/LoadCPAN')
| -rw-r--r-- | perl/Git/LoadCPAN/Mail/meson.build | 2 | ||||
| -rw-r--r-- | perl/Git/LoadCPAN/meson.build | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/perl/Git/LoadCPAN/Mail/meson.build b/perl/Git/LoadCPAN/Mail/meson.build index 89cde56be8..05a5770560 100644 --- a/perl/Git/LoadCPAN/Mail/meson.build +++ b/perl/Git/LoadCPAN/Mail/meson.build @@ -3,6 +3,6 @@ test_dependencies += custom_target( output: 'Address.pm', command: generate_perl_command, install: true, - install_dir: get_option('datadir') / 'perl5/Git/LoadCPAN/Mail', + install_dir: perllibdir / 'Git/LoadCPAN/Mail', depends: [git_version_file], ) diff --git a/perl/Git/LoadCPAN/meson.build b/perl/Git/LoadCPAN/meson.build index 1ee915c650..b975d49726 100644 --- a/perl/Git/LoadCPAN/meson.build +++ b/perl/Git/LoadCPAN/meson.build @@ -3,7 +3,7 @@ test_dependencies += custom_target( output: 'Error.pm', command: generate_perl_command, install: true, - install_dir: get_option('datadir') / 'perl5/Git/LoadCPAN', + install_dir: perllibdir / 'Git/LoadCPAN', depends: [git_version_file], ) |
