From: Zbigniew Jędrzejewski-Szmek Date: Thu, 25 Jan 2024 12:23:25 +0000 (+0100) Subject: meson: use a single line for one-item file lists X-Git-Tag: v256-rc1~1040^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=04a7790f23958cc7ea47f3ae712ec221fb55ad5b;p=thirdparty%2Fsystemd.git meson: use a single line for one-item file lists That file was mixing two styles, which looks ugly. Let's not make the file unnecessarily long. --- diff --git a/src/shared/meson.build b/src/shared/meson.build index 69a60b0f456..533c08d20a8 100644 --- a/src/shared/meson.build +++ b/src/shared/meson.build @@ -199,9 +199,7 @@ shared_sources = files( ) if get_option('tests') != 'false' - shared_sources += files( - 'tests.c', - ) + shared_sources += files('tests.c') endif generate_syscall_list = find_program('generate-syscall-list.py') @@ -215,9 +213,7 @@ syscall_list_h = custom_target( capture : true) if conf.get('HAVE_ACL') == 1 - shared_sources += files( - 'devnode-acl.c', - ) + shared_sources += files('devnode-acl.c') endif if conf.get('ENABLE_UTMP') == 1 @@ -234,9 +230,7 @@ if conf.get('HAVE_LIBIPTC') == 1 endif if conf.get('HAVE_LIBBPF') == 1 - shared_sources += files( - 'bpf-link.c', - ) + shared_sources += files('bpf-link.c') endif if conf.get('HAVE_KMOD') == 1 @@ -244,9 +238,7 @@ if conf.get('HAVE_KMOD') == 1 endif if conf.get('HAVE_PAM') == 1 - shared_sources += files( - 'pam-util.c', - ) + shared_sources += files('pam-util.c') endif if conf.get('ENABLE_NSCD') == 1 @@ -366,9 +358,7 @@ libshared = shared_library( install : true, install_dir : pkglibdir) -shared_fdisk_sources = files( - 'fdisk-util.c', -) +shared_fdisk_sources = files('fdisk-util.c') libshared_fdisk = static_library( 'shared-fdisk',