src/sleep/meson.build
raw| 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 | |
| 3 | executables += [ |
| 4 | libexec_template + { |
| 5 | 'name' : 'systemd-sleep', |
| 6 | 'sources' : files('sleep.c'), |
| 7 | 'extract' : files('battery-capacity.c'), |
| 8 | }, |
| 9 | test_template + { |
| 10 | 'sources' : files('test-battery-capacity.c'), |
| 11 | 'objects' : ['systemd-sleep'], |
| 12 | }, |
| 13 | ] |
| 14 | |
| 15 | if install_sysconfdir_samples |
| 16 | install_data('sleep.conf', |
| 17 | install_dir : pkgconfigfiledir) |
| 18 | endif |