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>
Sam James committed
Jan 8, 2025 at 03:42 UTC
45c0897204cfb5d0d88370a4907e41b0eb717b6c
8 files changed
+8
perl/FromCPAN/Mail/meson.build
+1
@@ -4,4 +4,5 @@ test_dependencies += custom_target(
4
command: generate_perl_command,
5
install: true,
6
install_dir: get_option('datadir') / 'perl5/FromCPAN/Mail',
7
+ depends: [git_version_file],
8
)
perl/FromCPAN/meson.build
+1
@@ -4,6 +4,7 @@ test_dependencies += custom_target(
4
command: generate_perl_command,
5
install: true,
6
install_dir: get_option('datadir') / 'perl5/FromCPAN',
7
+ depends: [git_version_file],
8
)
9
10
subdir('Mail')
perl/Git/LoadCPAN/Mail/meson.build
+1
@@ -4,4 +4,5 @@ test_dependencies += custom_target(
4
command: generate_perl_command,
5
install: true,
6
install_dir: get_option('datadir') / 'perl5/Git/LoadCPAN/Mail',
7
+ depends: [git_version_file],
8
)
perl/Git/LoadCPAN/meson.build
+1
@@ -4,6 +4,7 @@ test_dependencies += custom_target(
4
command: generate_perl_command,
5
install: true,
6
install_dir: get_option('datadir') / 'perl5/Git/LoadCPAN',
7
+ depends: [git_version_file],
8
)
9
10
subdir('Mail')
perl/Git/SVN/Memoize/meson.build
+1
@@ -4,4 +4,5 @@ test_dependencies += custom_target(
4
command: generate_perl_command,
5
install: true,
6
install_dir: get_option('datadir') / 'perl5/Git/SVN',
7
+ depends: [git_version_file],
8
)
perl/Git/SVN/meson.build
+1
@@ -14,6 +14,7 @@ foreach source : [
14
command: generate_perl_command,
15
install: true,
16
install_dir: get_option('datadir') / 'perl5/Git/SVN',
17
+ depends: [git_version_file],
18
)
19
endforeach
20
perl/Git/meson.build
+1
@@ -11,6 +11,7 @@ foreach source : [
11
command: generate_perl_command,
12
install: true,
13
install_dir: get_option('datadir') / 'perl5/Git',
14
+ depends: [git_version_file],
15
)
16
endforeach
17
perl/meson.build
+1
@@ -4,6 +4,7 @@ test_dependencies += custom_target(
4
command: generate_perl_command,
5
install: true,
6
install_dir: get_option('datadir') / 'perl5',
7
+ depends: [git_version_file],
8
)
9
10
subdir('Git')