1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

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.
This commit is contained in:
Yu Watanabe 2022-11-11 01:17:57 +09:00 committed by Lennart Poettering
parent 0b556555c2
commit 251dc2f14b

View File

@ -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',