meson: do not use split() in file lists
The approach to use '''…'''.split() instead of a list of strings was initially used when converting from automake because it allowed identical blocks of lines to be used for both, making the conversion easier. But over the years we have been using normal lists more and more, especially when there were just a few filenames listed. This converts the rest. No functional change.
This commit is contained in:
+257
-258
@@ -1,263 +1,262 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
basic_sources = files('''
|
||||
MurmurHash2.c
|
||||
MurmurHash2.h
|
||||
af-list.c
|
||||
af-list.h
|
||||
alloc-util.c
|
||||
alloc-util.h
|
||||
architecture.c
|
||||
architecture.h
|
||||
arphrd-util.c
|
||||
arphrd-util.h
|
||||
async.c
|
||||
async.h
|
||||
audit-util.c
|
||||
audit-util.h
|
||||
build.c
|
||||
build.h
|
||||
bus-label.c
|
||||
bus-label.h
|
||||
cap-list.c
|
||||
cap-list.h
|
||||
capability-util.c
|
||||
capability-util.h
|
||||
cgroup-util.c
|
||||
cgroup-util.h
|
||||
chase-symlinks.c
|
||||
chase-symlinks.h
|
||||
chattr-util.c
|
||||
chattr-util.h
|
||||
conf-files.c
|
||||
conf-files.h
|
||||
def.h
|
||||
dirent-util.c
|
||||
dirent-util.h
|
||||
dns-def.h
|
||||
efivars.c
|
||||
efivars.h
|
||||
env-file.c
|
||||
env-file.h
|
||||
env-util.c
|
||||
env-util.h
|
||||
errno-list.c
|
||||
errno-list.h
|
||||
errno-util.h
|
||||
escape.c
|
||||
escape.h
|
||||
ether-addr-util.c
|
||||
ether-addr-util.h
|
||||
extract-word.c
|
||||
extract-word.h
|
||||
fd-util.c
|
||||
fd-util.h
|
||||
fileio.c
|
||||
fileio.h
|
||||
filesystems.c
|
||||
filesystems.h
|
||||
format-util.c
|
||||
format-util.h
|
||||
fs-util.c
|
||||
fs-util.h
|
||||
glob-util.c
|
||||
glob-util.h
|
||||
glyph-util.c
|
||||
glyph-util.h
|
||||
gunicode.c
|
||||
gunicode.h
|
||||
hash-funcs.c
|
||||
hash-funcs.h
|
||||
hashmap.c
|
||||
hashmap.h
|
||||
hexdecoct.c
|
||||
hexdecoct.h
|
||||
hmac.c
|
||||
hmac.h
|
||||
hostname-util.c
|
||||
hostname-util.h
|
||||
in-addr-util.c
|
||||
in-addr-util.h
|
||||
inotify-util.c
|
||||
inotify-util.h
|
||||
io-util.c
|
||||
io-util.h
|
||||
ioprio-util.c
|
||||
ioprio-util.h
|
||||
limits-util.c
|
||||
limits-util.h
|
||||
linux/btrfs.h
|
||||
linux/btrfs_tree.h
|
||||
linux/can/netlink.h
|
||||
linux/can/vxcan.h
|
||||
linux/cfm_bridge.h
|
||||
linux/fib_rules.h
|
||||
linux/fou.h
|
||||
linux/genetlink.h
|
||||
linux/hdlc/ioctl.h
|
||||
linux/if.h
|
||||
linux/if_addr.h
|
||||
linux/if_bonding.h
|
||||
linux/if_bridge.h
|
||||
linux/if_ether.h
|
||||
linux/if_link.h
|
||||
linux/if_macsec.h
|
||||
linux/if_tun.h
|
||||
linux/if_tunnel.h
|
||||
linux/in.h
|
||||
linux/in6.h
|
||||
linux/ipv6_route.h
|
||||
linux/l2tp.h
|
||||
linux/libc-compat.h
|
||||
linux/mrp_bridge.h
|
||||
linux/netdevice.h
|
||||
linux/netfilter/nf_tables.h
|
||||
linux/netfilter/nfnetlink.h
|
||||
linux/netlink.h
|
||||
linux/nexthop.h
|
||||
linux/nl80211.h
|
||||
linux/pkt_sched.h
|
||||
linux/rtnetlink.h
|
||||
linux/wireguard.h
|
||||
list.h
|
||||
locale-util.c
|
||||
locale-util.h
|
||||
log.c
|
||||
log.h
|
||||
login-util.c
|
||||
login-util.h
|
||||
macro.h
|
||||
memfd-util.c
|
||||
memfd-util.h
|
||||
memory-util.c
|
||||
memory-util.h
|
||||
mempool.c
|
||||
mempool.h
|
||||
missing_audit.h
|
||||
missing_capability.h
|
||||
missing_drm.h
|
||||
missing_fcntl.h
|
||||
missing_fs.h
|
||||
missing_input.h
|
||||
missing_ioprio.h
|
||||
missing_keyctl.h
|
||||
missing_magic.h
|
||||
missing_mman.h
|
||||
missing_mount.h
|
||||
missing_network.h
|
||||
missing_prctl.h
|
||||
missing_random.h
|
||||
missing_resource.h
|
||||
missing_sched.h
|
||||
missing_securebits.h
|
||||
missing_socket.h
|
||||
missing_stat.h
|
||||
missing_stdlib.h
|
||||
missing_syscall.h
|
||||
missing_timerfd.h
|
||||
missing_type.h
|
||||
mkdir.c
|
||||
mkdir.h
|
||||
mountpoint-util.c
|
||||
mountpoint-util.h
|
||||
namespace-util.c
|
||||
namespace-util.h
|
||||
nss-util.h
|
||||
nulstr-util.c
|
||||
nulstr-util.h
|
||||
ordered-set.c
|
||||
ordered-set.h
|
||||
os-util.c
|
||||
os-util.h
|
||||
parse-util.c
|
||||
parse-util.h
|
||||
path-lookup.c
|
||||
path-lookup.h
|
||||
path-util.c
|
||||
path-util.h
|
||||
percent-util.c
|
||||
percent-util.h
|
||||
prioq.c
|
||||
prioq.h
|
||||
proc-cmdline.c
|
||||
proc-cmdline.h
|
||||
process-util.c
|
||||
process-util.h
|
||||
procfs-util.c
|
||||
procfs-util.h
|
||||
pthread-util.h
|
||||
random-util.c
|
||||
random-util.h
|
||||
ratelimit.c
|
||||
ratelimit.h
|
||||
raw-clone.h
|
||||
raw-reboot.h
|
||||
recovery-key.c
|
||||
recovery-key.h
|
||||
recurse-dir.c
|
||||
recurse-dir.h
|
||||
replace-var.c
|
||||
replace-var.h
|
||||
rlimit-util.c
|
||||
rlimit-util.h
|
||||
set.h
|
||||
sigbus.c
|
||||
sigbus.h
|
||||
signal-util.c
|
||||
signal-util.h
|
||||
siphash24.c
|
||||
siphash24.h
|
||||
socket-util.c
|
||||
socket-util.h
|
||||
sort-util.c
|
||||
sort-util.h
|
||||
sparse-endian.h
|
||||
special.h
|
||||
stat-util.c
|
||||
stat-util.h
|
||||
static-destruct.h
|
||||
stdio-util.h
|
||||
strbuf.c
|
||||
strbuf.h
|
||||
string-table.c
|
||||
string-table.h
|
||||
string-util.c
|
||||
string-util.h
|
||||
strv.c
|
||||
strv.h
|
||||
strxcpyx.c
|
||||
strxcpyx.h
|
||||
sync-util.c
|
||||
sync-util.h
|
||||
sysctl-util.c
|
||||
sysctl-util.h
|
||||
syslog-util.c
|
||||
syslog-util.h
|
||||
terminal-util.c
|
||||
terminal-util.h
|
||||
time-util.c
|
||||
time-util.h
|
||||
tmpfile-util.c
|
||||
tmpfile-util.h
|
||||
umask-util.h
|
||||
unaligned.h
|
||||
unit-def.c
|
||||
unit-def.h
|
||||
unit-file.c
|
||||
unit-file.h
|
||||
unit-name.c
|
||||
unit-name.h
|
||||
user-util.c
|
||||
user-util.h
|
||||
utf8.c
|
||||
utf8.h
|
||||
util.c
|
||||
util.h
|
||||
virt.c
|
||||
virt.h
|
||||
xattr-util.c
|
||||
xattr-util.h
|
||||
'''.split())
|
||||
basic_sources = files(
|
||||
'MurmurHash2.c',
|
||||
'MurmurHash2.h',
|
||||
'af-list.c',
|
||||
'af-list.h',
|
||||
'alloc-util.c',
|
||||
'alloc-util.h',
|
||||
'architecture.c',
|
||||
'architecture.h',
|
||||
'arphrd-util.c',
|
||||
'arphrd-util.h',
|
||||
'async.c',
|
||||
'async.h',
|
||||
'audit-util.c',
|
||||
'audit-util.h',
|
||||
'build.c',
|
||||
'build.h',
|
||||
'bus-label.c',
|
||||
'bus-label.h',
|
||||
'cap-list.c',
|
||||
'cap-list.h',
|
||||
'capability-util.c',
|
||||
'capability-util.h',
|
||||
'cgroup-util.c',
|
||||
'cgroup-util.h',
|
||||
'chase-symlinks.c',
|
||||
'chase-symlinks.h',
|
||||
'chattr-util.c',
|
||||
'chattr-util.h',
|
||||
'conf-files.c',
|
||||
'conf-files.h',
|
||||
'def.h',
|
||||
'dirent-util.c',
|
||||
'dirent-util.h',
|
||||
'dns-def.h',
|
||||
'efivars.c',
|
||||
'efivars.h',
|
||||
'env-file.c',
|
||||
'env-file.h',
|
||||
'env-util.c',
|
||||
'env-util.h',
|
||||
'errno-list.c',
|
||||
'errno-list.h',
|
||||
'errno-util.h',
|
||||
'escape.c',
|
||||
'escape.h',
|
||||
'ether-addr-util.c',
|
||||
'ether-addr-util.h',
|
||||
'extract-word.c',
|
||||
'extract-word.h',
|
||||
'fd-util.c',
|
||||
'fd-util.h',
|
||||
'fileio.c',
|
||||
'fileio.h',
|
||||
'filesystems.c',
|
||||
'filesystems.h',
|
||||
'format-util.c',
|
||||
'format-util.h',
|
||||
'fs-util.c',
|
||||
'fs-util.h',
|
||||
'glob-util.c',
|
||||
'glob-util.h',
|
||||
'glyph-util.c',
|
||||
'glyph-util.h',
|
||||
'gunicode.c',
|
||||
'gunicode.h',
|
||||
'hash-funcs.c',
|
||||
'hash-funcs.h',
|
||||
'hashmap.c',
|
||||
'hashmap.h',
|
||||
'hexdecoct.c',
|
||||
'hexdecoct.h',
|
||||
'hmac.c',
|
||||
'hmac.h',
|
||||
'hostname-util.c',
|
||||
'hostname-util.h',
|
||||
'in-addr-util.c',
|
||||
'in-addr-util.h',
|
||||
'inotify-util.c',
|
||||
'inotify-util.h',
|
||||
'io-util.c',
|
||||
'io-util.h',
|
||||
'ioprio-util.c',
|
||||
'ioprio-util.h',
|
||||
'limits-util.c',
|
||||
'limits-util.h',
|
||||
'linux/btrfs.h',
|
||||
'linux/btrfs_tree.h',
|
||||
'linux/can/netlink.h',
|
||||
'linux/can/vxcan.h',
|
||||
'linux/cfm_bridge.h',
|
||||
'linux/fib_rules.h',
|
||||
'linux/fou.h',
|
||||
'linux/genetlink.h',
|
||||
'linux/hdlc/ioctl.h',
|
||||
'linux/if.h',
|
||||
'linux/if_addr.h',
|
||||
'linux/if_bonding.h',
|
||||
'linux/if_bridge.h',
|
||||
'linux/if_ether.h',
|
||||
'linux/if_link.h',
|
||||
'linux/if_macsec.h',
|
||||
'linux/if_tun.h',
|
||||
'linux/if_tunnel.h',
|
||||
'linux/in.h',
|
||||
'linux/in6.h',
|
||||
'linux/ipv6_route.h',
|
||||
'linux/l2tp.h',
|
||||
'linux/libc-compat.h',
|
||||
'linux/mrp_bridge.h',
|
||||
'linux/netdevice.h',
|
||||
'linux/netfilter/nf_tables.h',
|
||||
'linux/netfilter/nfnetlink.h',
|
||||
'linux/netlink.h',
|
||||
'linux/nexthop.h',
|
||||
'linux/nl80211.h',
|
||||
'linux/pkt_sched.h',
|
||||
'linux/rtnetlink.h',
|
||||
'linux/wireguard.h',
|
||||
'list.h',
|
||||
'locale-util.c',
|
||||
'locale-util.h',
|
||||
'log.c',
|
||||
'log.h',
|
||||
'login-util.c',
|
||||
'login-util.h',
|
||||
'macro.h',
|
||||
'memfd-util.c',
|
||||
'memfd-util.h',
|
||||
'memory-util.c',
|
||||
'memory-util.h',
|
||||
'mempool.c',
|
||||
'mempool.h',
|
||||
'missing_audit.h',
|
||||
'missing_capability.h',
|
||||
'missing_drm.h',
|
||||
'missing_fcntl.h',
|
||||
'missing_fs.h',
|
||||
'missing_input.h',
|
||||
'missing_ioprio.h',
|
||||
'missing_keyctl.h',
|
||||
'missing_magic.h',
|
||||
'missing_mman.h',
|
||||
'missing_mount.h',
|
||||
'missing_network.h',
|
||||
'missing_prctl.h',
|
||||
'missing_random.h',
|
||||
'missing_resource.h',
|
||||
'missing_sched.h',
|
||||
'missing_securebits.h',
|
||||
'missing_socket.h',
|
||||
'missing_stat.h',
|
||||
'missing_stdlib.h',
|
||||
'missing_syscall.h',
|
||||
'missing_timerfd.h',
|
||||
'missing_type.h',
|
||||
'mkdir.c',
|
||||
'mkdir.h',
|
||||
'mountpoint-util.c',
|
||||
'mountpoint-util.h',
|
||||
'namespace-util.c',
|
||||
'namespace-util.h',
|
||||
'nss-util.h',
|
||||
'nulstr-util.c',
|
||||
'nulstr-util.h',
|
||||
'ordered-set.c',
|
||||
'ordered-set.h',
|
||||
'os-util.c',
|
||||
'os-util.h',
|
||||
'parse-util.c',
|
||||
'parse-util.h',
|
||||
'path-lookup.c',
|
||||
'path-lookup.h',
|
||||
'path-util.c',
|
||||
'path-util.h',
|
||||
'percent-util.c',
|
||||
'percent-util.h',
|
||||
'prioq.c',
|
||||
'prioq.h',
|
||||
'proc-cmdline.c',
|
||||
'proc-cmdline.h',
|
||||
'process-util.c',
|
||||
'process-util.h',
|
||||
'procfs-util.c',
|
||||
'procfs-util.h',
|
||||
'pthread-util.h',
|
||||
'random-util.c',
|
||||
'random-util.h',
|
||||
'ratelimit.c',
|
||||
'ratelimit.h',
|
||||
'raw-clone.h',
|
||||
'raw-reboot.h',
|
||||
'recovery-key.c',
|
||||
'recovery-key.h',
|
||||
'recurse-dir.c',
|
||||
'recurse-dir.h',
|
||||
'replace-var.c',
|
||||
'replace-var.h',
|
||||
'rlimit-util.c',
|
||||
'rlimit-util.h',
|
||||
'set.h',
|
||||
'sigbus.c',
|
||||
'sigbus.h',
|
||||
'signal-util.c',
|
||||
'signal-util.h',
|
||||
'siphash24.c',
|
||||
'siphash24.h',
|
||||
'socket-util.c',
|
||||
'socket-util.h',
|
||||
'sort-util.c',
|
||||
'sort-util.h',
|
||||
'sparse-endian.h',
|
||||
'special.h',
|
||||
'stat-util.c',
|
||||
'stat-util.h',
|
||||
'static-destruct.h',
|
||||
'stdio-util.h',
|
||||
'strbuf.c',
|
||||
'strbuf.h',
|
||||
'string-table.c',
|
||||
'string-table.h',
|
||||
'string-util.c',
|
||||
'string-util.h',
|
||||
'strv.c',
|
||||
'strv.h',
|
||||
'strxcpyx.c',
|
||||
'strxcpyx.h',
|
||||
'sync-util.c',
|
||||
'sync-util.h',
|
||||
'sysctl-util.c',
|
||||
'sysctl-util.h',
|
||||
'syslog-util.c',
|
||||
'syslog-util.h',
|
||||
'terminal-util.c',
|
||||
'terminal-util.h',
|
||||
'time-util.c',
|
||||
'time-util.h',
|
||||
'tmpfile-util.c',
|
||||
'tmpfile-util.h',
|
||||
'umask-util.h',
|
||||
'unaligned.h',
|
||||
'unit-def.c',
|
||||
'unit-def.h',
|
||||
'unit-file.c',
|
||||
'unit-file.h',
|
||||
'unit-name.c',
|
||||
'unit-name.h',
|
||||
'user-util.c',
|
||||
'user-util.h',
|
||||
'utf8.c',
|
||||
'utf8.h',
|
||||
'util.c',
|
||||
'util.h',
|
||||
'virt.c',
|
||||
'virt.h',
|
||||
'xattr-util.c',
|
||||
'xattr-util.h')
|
||||
|
||||
missing_audit_h = files('missing_audit.h')
|
||||
missing_capability_h = files('missing_capability.h')
|
||||
|
||||
Reference in New Issue
Block a user