summaryrefslogtreecommitdiff
path: root/src/include/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/meson.build')
-rw-r--r--src/include/meson.build21
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)