# SPDX-License-Identifier: LGPL-2.1-or-later executables += [ libexec_template + { 'name' : 'systemd-sleep', 'sources' : files('sleep.c'), 'extract' : files('battery-capacity.c'), }, test_template + { 'sources' : files('test-battery-capacity.c'), 'objects' : ['systemd-sleep'], }, ] if install_sysconfdir_samples install_data('sleep.conf', install_dir : pkgconfigfiledir) endif