summaryrefslogtreecommitdiff
path: root/catalog
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 /catalog
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 'catalog')
-rw-r--r--catalog/meson.build27
1 files changed, 13 insertions, 14 deletions
diff --git a/catalog/meson.build b/catalog/meson.build
index a20189d314..6a0a2193a2 100644
--- a/catalog/meson.build
+++ b/catalog/meson.build
@@ -1,19 +1,18 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
-in_files = '''
- systemd.bg.catalog
- systemd.be.catalog
- systemd.be@latin.catalog
- systemd.de.catalog
- systemd.fr.catalog
- systemd.it.catalog
- systemd.pl.catalog
- systemd.pt_BR.catalog
- systemd.ru.catalog
- systemd.zh_CN.catalog
- systemd.zh_TW.catalog
- systemd.catalog
-'''.split()
+in_files = [
+ 'systemd.bg.catalog',
+ 'systemd.be.catalog',
+ 'systemd.be@latin.catalog',
+ 'systemd.de.catalog',
+ 'systemd.fr.catalog',
+ 'systemd.it.catalog',
+ 'systemd.pl.catalog',
+ 'systemd.pt_BR.catalog',
+ 'systemd.ru.catalog',
+ 'systemd.zh_CN.catalog',
+ 'systemd.zh_TW.catalog',
+ 'systemd.catalog']
support_url = get_option('support-url')
support_sed = 's~%SUPPORT_URL%~@0@~'.format(support_url)