summaryrefslogtreecommitdiff
path: root/src/userdb
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-03-02 14:49:32 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-03-02 14:49:32 +0100
commitf1b98127ff6320648cc3dc876f3b6a5aa3af204b (patch)
tree0fcea4eff1ccda78d54edab923f1444f74a3ff2f /src/userdb
parent82e4b0305b789f1765f7d3ad74ff6730424c9f74 (diff)
downloadsystemd-f1b98127ff6320648cc3dc876f3b6a5aa3af204b.tar.gz
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.
Diffstat (limited to 'src/userdb')
-rw-r--r--src/userdb/meson.build17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/userdb/meson.build b/src/userdb/meson.build
index 3a6225e01e..a17d7bb328 100644
--- a/src/userdb/meson.build
+++ b/src/userdb/meson.build
@@ -1,15 +1,10 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
-systemd_userwork_sources = files('''
- userwork.c
-'''.split())
+systemd_userwork_sources = files('userwork.c')
-systemd_userdbd_sources = files('''
- userdbd-manager.c
- userdbd-manager.h
- userdbd.c
-'''.split())
+systemd_userdbd_sources = files(
+ 'userdbd-manager.c',
+ 'userdbd-manager.h',
+ 'userdbd.c')
-userdbctl_sources = files('''
- userdbctl.c
-'''.split())
+userdbctl_sources = files('userdbctl.c')