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

executables += [
        libexec_template + {
                'name' : 'systemd-sleep',
                'sources' : files(
                        'sleep.c',
                        'battery-capacity.c',
                ),
        },
        test_template + {
                'sources' : files(
                        'test-battery-capacity.c',
                        'battery-capacity.c',
                ),
        },
]

if install_sysconfdir_samples
        install_data('sleep.conf',
                     install_dir : pkgconfigfiledir)
endif