From eb84e5926050997fed76158e4fa18af1fae09f0d Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Sat, 13 Jul 2024 19:14:39 +0200 Subject: use new meson format --- src/include/meson.build | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'src/include/meson.build') diff --git a/src/include/meson.build b/src/include/meson.build index 4f4bbe5..4ce0bf8 100644 --- a/src/include/meson.build +++ b/src/include/meson.build @@ -23,8 +23,7 @@ if idn2_dep.found() config.set('IDN2', true) endif -auto_qmail = run_command('head', '-n1', - meson.project_source_root() / 'conf-home', check : true).stdout().strip() +auto_qmail = run_command('head', '-n1', meson.project_source_root() / 'conf-home', check : true).stdout().strip() config.set('auto_qmail', auto_qmail) config.set('auto_usera', 'alias') @@ -34,8 +33,15 @@ config.set('auto_patrn', get_option('patrn')) config.set('auto_spawn', get_option('spawn')) user_groups = [ - 'alias', 'qmaild', 'qmaill', 'qmailp', 'qmailq', 'qmailr', 'qmails', - 'sqmail', 'nofiles', + 'alias', + 'qmaild', + 'qmaill', + 'qmailp', + 'qmailq', + 'qmailr', + 'qmails', + 'sqmail', + 'nofiles', ] foreach id : user_groups @@ -49,11 +55,12 @@ configure_file( input : 'fehsqm-config.h.in', output : 'fehsqm-config.h', install_dir : get_option('includedir') / sqmail_hdrs_subdir, - install_tag : 'devel') + install_tag : 'devel', +) add_project_arguments('-DUSE_CONFIG', language : 'c') -sqmail_hdrs = [ +sqmail_hdrs = files( 'base64.h', 'commands.h', 'control.h', @@ -108,7 +115,7 @@ sqmail_hdrs = [ 'token822.h', 'trigger.h', 'wildmat.h', -] +) install_headers(sqmail_hdrs, subdir : sqmail_hdrs_subdir) -- cgit v1.2.3