summaryrefslogtreecommitdiffstats
path: root/src/sleep/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/sleep/meson.build')
-rw-r--r--src/sleep/meson.build22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/sleep/meson.build b/src/sleep/meson.build
new file mode 100644
index 0000000..fc0037e
--- /dev/null
+++ b/src/sleep/meson.build
@@ -0,0 +1,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