diff options
author | Martin Ejdestig <mejdestig@luxoft.com> | 2019-05-29 01:37:01 +0200 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2019-05-29 08:37:01 +0900 |
commit | 514717f210dd190c297f5880bf8f0dd89479849b (patch) | |
tree | 9001535c91dfd0c4aae2de74a1be7695afabe062 /tests | |
parent | a889c8b26aa40d792a75adc71da9b13fd5787ba9 (diff) | |
download | DLT-daemon-514717f210dd190c297f5880bf8f0dd89479849b.tar.gz |
Do not install systemd service files for binaries that are not built (#129)
* Do not install systemd service files for binaries that are not built
Noticed that dlt-system.service unconditionally failed since the binary
was missing when building with a default configuration after an upgrade
from 2.17.0 to 2.18.1. WITH_DLT_SYSTEM default changed to OFF in
1b3c8b3d10fbc9a8dd9c717a939babd901b0b243 .
Fix by only installing dlt-system.service if dlt-system is built and do
the same for other binaries that have a service file. Also install() is
moved to if() blocks used for configure_file().
Signed-off-by: Martin Ejdestig <mejdestig@luxoft.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions