]>
Commit | Line | Data |
---|---|---|
a032b68d | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
52ad194e | 2 | |
3a6ce677 BR |
3 | if enable_sysusers |
4 | install_data('README', install_dir : sysusersdir) | |
5 | endif | |
6 | ||
81c58355 MB |
7 | in_files = ['basic.conf'] |
8 | ||
81c58355 MB |
9 | foreach file : in_files |
10 | gen = configure_file( | |
11 | input : file + '.in', | |
12 | output : file, | |
13 | configuration : substs) | |
14 | if enable_sysusers | |
15 | install_data(gen, | |
16 | install_dir : sysusersdir) | |
17 | endif | |
18 | endforeach | |
19 | ||
20 | m4_files = ['systemd.conf'] | |
21 | ||
f5e65279 | 22 | if conf.get('ENABLE_REMOTE') == 1 and conf.get('HAVE_MICROHTTPD') == 1 |
81c58355 MB |
23 | m4_files += ['systemd-remote.conf'] |
24 | endif | |
25 | ||
26 | foreach file : m4_files | |
27 | custom_target( | |
28 | 'sysusers.d_' + file, | |
29 | input : file + '.m4', | |
30 | output: file, | |
b012e921 | 31 | command : [meson_apply_m4, config_h, '@INPUT@'], |
81c58355 MB |
32 | capture : true, |
33 | install : enable_sysusers, | |
34 | install_dir : sysusersdir) | |
35 | endforeach |