From 014e24889ce082c7cdaf3d128c796e1e00dcd3ff Mon Sep 17 00:00:00 2001 From: David Steele Date: Wed, 27 Mar 2024 09:53:49 +1100 Subject: [PATCH] Remove extra space before colons in meson.build files. The spacing was not consistent so use the style that best matches our general coding standards. --- doc/src/config/meson.build | 4 ++-- meson.build | 4 ++-- src/command/help/meson.build | 4 ++-- src/meson.build | 2 +- src/postgres/meson.build | 4 ++-- test/src/config/meson.build | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/src/config/meson.build b/doc/src/config/meson.build index 76d79d4bd..29bd0aff0 100644 --- a/doc/src/config/meson.build +++ b/doc/src/config/meson.build @@ -3,11 +3,11 @@ #################################################################################################################################### doc_parse_auto_c_inc = custom_target( 'doc_parse.auto.c.inc', - output : 'parse.auto.c.inc', + output: 'parse.auto.c.inc', depend_files: [ '../build/config/config.yaml', ], - command : [ + command: [ build_code, 'config', '@CURRENT_SOURCE_DIR@/../..', diff --git a/meson.build b/meson.build index f038bd519..351cce860 100644 --- a/meson.build +++ b/meson.build @@ -30,9 +30,9 @@ cc = meson.get_compiler('c') # OS-specific settings #################################################################################################################################### if host_machine.system() == 'linux' - add_global_arguments('-D_POSIX_C_SOURCE=200809L', language : 'c') + add_global_arguments('-D_POSIX_C_SOURCE=200809L', language: 'c') elif host_machine.system() == 'darwin' - add_global_arguments('-D_DARWIN_C_SOURCE', language : 'c') + add_global_arguments('-D_DARWIN_C_SOURCE', language: 'c') endif #################################################################################################################################### diff --git a/src/command/help/meson.build b/src/command/help/meson.build index 38ba86cd8..0af90987e 100644 --- a/src/command/help/meson.build +++ b/src/command/help/meson.build @@ -3,12 +3,12 @@ #################################################################################################################################### help_auto_c_inc = custom_target( 'help.auto.c.inc', - output : 'help.auto.c.inc', + output: 'help.auto.c.inc', depend_files: [ '../../build/config/config.yaml', '../../build/help/help.xml', ], - command : [ + command: [ build_code, 'help', '@CURRENT_SOURCE_DIR@/../../..', diff --git a/src/meson.build b/src/meson.build index f34ccb9bf..b7ec5f728 100644 --- a/src/meson.build +++ b/src/meson.build @@ -274,7 +274,7 @@ executable( src_pgbackrest, help_auto_c_inc, interface_auto_c_inc, - dependencies : [ + dependencies: [ lib_backtrace, lib_bz2, lib_openssl, diff --git a/src/postgres/meson.build b/src/postgres/meson.build index 3cb2a200e..5362857bb 100644 --- a/src/postgres/meson.build +++ b/src/postgres/meson.build @@ -3,11 +3,11 @@ #################################################################################################################################### interface_auto_c_inc = custom_target( 'interface.auto.c.inc', - output : 'interface.auto.c.inc', + output: 'interface.auto.c.inc', depend_files: [ '../build/postgres/postgres.yaml', ], - command : [ + command: [ build_code, 'postgres', '@CURRENT_SOURCE_DIR@/../..', diff --git a/test/src/config/meson.build b/test/src/config/meson.build index 0ef3bc79b..71dcdc7e2 100644 --- a/test/src/config/meson.build +++ b/test/src/config/meson.build @@ -3,11 +3,11 @@ #################################################################################################################################### test_parse_auto_c_inc = custom_target( 'test_parse.auto.c.inc', - output : 'parse.auto.c.inc', + output: 'parse.auto.c.inc', depend_files: [ '../build/config/config.yaml', ], - command : [ + command: [ build_code, 'config', '@CURRENT_SOURCE_DIR@/../..',