From 251dc2f14ba423f7c27dcafb6eb2c06bc94c840d Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 11 Nov 2022 01:17:57 +0900 Subject: [PATCH] meson: install systemd-ac-power under /usr/bin And test the its help message. The program is useful for e.g. scripts that conditionalize their tasks to be invoked only when running on AC power. --- meson.build | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 00daeac1b6c..2d41ff8799d 100644 --- a/meson.build +++ b/meson.build @@ -3444,15 +3444,14 @@ public_programs += executable( install : true, install_dir : rootlibexecdir) -executable( +public_programs += executable( 'systemd-ac-power', 'src/ac-power/ac-power.c', include_directories : includes, link_with : [libshared], dependencies : [versiondep], install_rpath : rootpkglibdir, - install : true, - install_dir : rootlibexecdir) + install : true) public_programs += executable( 'systemd-detect-virt', -- 2.47.3