From 04a7790f23958cc7ea47f3ae712ec221fb55ad5b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 25 Jan 2024 13:23:25 +0100 Subject: [PATCH] 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. --- src/shared/meson.build | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) 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', -- 2.47.3