diff options
author | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-13 19:14:39 +0200 |
---|---|---|
committer | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-13 19:14:39 +0200 |
commit | eb84e5926050997fed76158e4fa18af1fae09f0d (patch) | |
tree | ebb1d19a8c6acb49ddf392991b9d1664f420d409 /src/include | |
parent | b33e1e38e5b02a4219423e3e28a85a3f4749e3a5 (diff) |
use new meson format
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/meson.build | 21 |
1 files changed, 14 insertions, 7 deletions
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) |