Files
git/perl/Git/meson.build
Sam James 45c0897204 meson: fix perl dependencies
`generate_perl_command` needs `depends: [git_version_file]` and the uses
in top-level meson.build were fine, but the ones in perl/ weren't, causing
parallel build failures in some cases as GIT-BUILD-OPTIONS wasn't yet
available.

Signed-off-by: Sam James <sam@gentoo.org>
Acked-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-01-08 08:05:39 -08:00

20 lines
364 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: get_option('datadir') / 'perl5/Git',
depends: [git_version_file],
)
endforeach
subdir('LoadCPAN')
subdir('SVN')