| 1 |
# SPDX-License-Identifier: LGPL-2.1-or-later |
| 2 |
|
| 3 |
executables += [ |
| 4 |
executable_template + { |
| 5 |
'name' : 'systemd-run', |
| 6 |
'public' : true, |
| 7 |
'sources' : files('run.c'), |
| 8 |
}, |
| 9 |
] |
| 10 |
|
| 11 |
install_symlink('run0', |
| 12 |
pointing_to : 'systemd-run', |
| 13 |
install_dir : bindir) |
| 14 |
|
| 15 |
custom_target( |
| 16 |
input : 'systemd-run0.in', |
| 17 |
output : 'systemd-run0', |
| 18 |
command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'], |
| 19 |
install : pamconfdir != 'no', |
| 20 |
install_dir : pamconfdir) |
| 21 |
|
| 22 |
if install_polkit |
| 23 |
install_data('empower.rules', |
| 24 |
install_dir : polkitrulesdir) |
| 25 |
endif |