summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <gustavo.barbieri@intel.com>2014-09-25 18:13:19 -0300
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-09-25 18:19:04 -0400
commitef99aec4d25087dec995b3f00b6957dcee6b13e9 (patch)
treecdda34a1ec37ea682cd8fefab6cd30cf8a8de594
parent8474b70c3a3842cdf3d51f331dd117ab6421f6d0 (diff)
only build and install systemd-bus-proxyd if --enable-kdbus
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 53128518b4..065d688ebb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -387,7 +387,6 @@ rootlibexec_PROGRAMS = \
systemd-ac-power \
systemd-sysctl \
systemd-sleep \
- systemd-bus-proxyd \
systemd-socket-proxyd \
systemd-update-done
@@ -2428,6 +2427,10 @@ systemd_run_LDADD = \
libsystemd-shared.la
# ------------------------------------------------------------------------------
+if ENABLE_KDBUS
+rootlibexec_PROGRAMS += \
+ systemd-bus-proxyd
+
systemd_bus_proxyd_SOURCES = \
src/bus-proxyd/bus-proxyd.c \
src/bus-proxyd/bus-policy.c \
@@ -2449,7 +2452,6 @@ bus-proxyd-uninstall-hook:
INSTALL_EXEC_HOOKS += bus-proxyd-install-hook
UNINSTALL_EXEC_HOOKS += bus-proxyd-uninstall-hook
-if ENABLE_KDBUS
nodist_systemunit_DATA += \
units/systemd-bus-proxyd@.service