Files
git/perl/Git/SVN/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

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')