File: meson.build

package info (click to toggle)
systemd 259~rc2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 104,924 kB
  • sloc: ansic: 725,418; xml: 121,113; python: 36,704; sh: 34,725; cpp: 946; makefile: 273; awk: 102; lisp: 13; sed: 1
file content (28 lines) | stat: -rw-r--r-- 1,111 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# SPDX-License-Identifier: LGPL-2.1-or-later

files = [['README',                true],
         ['systemd-coredump.conf', conf.get('ENABLE_COREDUMP') == 1],
         ['systemd-oom.conf',      conf.get('ENABLE_OOMD') == 1],
         ['systemd-remote.conf',   conf.get('ENABLE_REMOTE') == 1 and conf.get('HAVE_MICROHTTPD') == 1]]

foreach tuple : files
        if enable_sysusers and tuple[1]
                install_data(tuple[0], install_dir : sysusersdir)
        endif
endforeach

in_files = [['basic.conf',            true],
            ['systemd-journal.conf',  true],
            ['systemd-network.conf',  conf.get('ENABLE_NETWORKD') == 1],
            ['systemd-resolve.conf',  conf.get('ENABLE_RESOLVE') == 1],
            ['systemd-timesync.conf', conf.get('ENABLE_TIMESYNCD') == 1]]

foreach tuple : in_files
        file = tuple[0]
        custom_target(
                input : file + '.in',
                output: file,
                command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
                install : enable_sysusers and tuple[1],
                install_dir : sysusersdir)
endforeach