From f1b98127ff6320648cc3dc876f3b6a5aa3af204b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 2 Mar 2022 14:49:32 +0100 Subject: meson: do not use split() in file lists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- catalog/meson.build | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'catalog') 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) -- cgit v1.2.1