meson: automatically add 'extract' to 'sources'

In all cases, everything that we list in 'extract', we also list in
'sources'. We can simplify things by automatically appending the first
list to the second.

In the listings, move 'extract' key right below 'sources', since now
they are both "sources", just with slightly different meanings.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2025-11-20 10:03:48 +09:00
committed by Yu Watanabe
parent 6fc487564a
commit 5220bb8c3f
30 changed files with 61 additions and 94 deletions
+1 -4
View File
@@ -7,10 +7,7 @@ endif
executables += [
libexec_template + {
'name' : 'systemd-integritysetup',
'sources' : files(
'integrity-util.c',
'integritysetup.c',
),
'sources' : files('integritysetup.c'),
'extract' : files('integrity-util.c'),
'dependencies' : libcryptsetup,
},