]>
Commit | Line | Data |
---|---|---|
db9ecf05 | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
3a726fcd | 2 | |
d83e90c7 ZJS |
3 | if enable_sysusers |
4 | install_data('README', install_dir : sysusersdir) | |
5 | endif | |
6 | ||
5c23128d ZJS |
7 | in_files = ['basic.conf'] |
8 | ||
5c23128d | 9 | foreach file : in_files |
37efbbd8 ZJS |
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 | |
5c23128d ZJS |
18 | endforeach |
19 | ||
20 | m4_files = ['systemd.conf'] | |
21 | ||
349cc4a5 | 22 | if conf.get('ENABLE_REMOTE') == 1 and conf.get('HAVE_MICROHTTPD') == 1 |
37efbbd8 | 23 | m4_files += ['systemd-remote.conf'] |
5c23128d ZJS |
24 | endif |
25 | ||
26 | foreach file : m4_files | |
37efbbd8 | 27 | custom_target( |
525e9db3 | 28 | 'sysusers.d_' + file, |
37efbbd8 ZJS |
29 | input : file + '.m4', |
30 | output: file, | |
348b4437 | 31 | command : [meson_apply_m4, config_h, '@INPUT@'], |
37efbbd8 ZJS |
32 | capture : true, |
33 | install : enable_sysusers, | |
34 | install_dir : sysusersdir) | |
5c23128d | 35 | endforeach |