
`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>
22 lines
396 B
Meson
22 lines
396 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: get_option('datadir') / 'perl5/Git/SVN',
|
|
depends: [git_version_file],
|
|
)
|
|
endforeach
|
|
|
|
subdir('Memoize')
|