summaryrefslogtreecommitdiffstats
path: root/src/run/meson.build
blob: 221b441fac82df4770447ee037044b95c1b70897 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# SPDX-License-Identifier: LGPL-2.1-or-later

executables += [
        executable_template + {
                'name' : 'systemd-run',
                'public' : true,
                'sources' : files('run.c'),
        },
]

install_emptydir(bindir)

meson.add_install_script(sh, '-c',
                             ln_s.format(bindir / 'systemd-run',
                                         bindir / 'run0'))

custom_target(
        'systemd-run0',
        input : 'systemd-run0.in',
        output : 'systemd-run0',
        command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
        install : pamconfdir != 'no',
        install_dir : pamconfdir)