[systemd-devel] [PATCH] only build and install systemd-bus-proxyd if --enable-kdbus

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Thu Sep 25 14:32:38 PDT 2014


On Thu, Sep 25, 2014 at 06:13:19PM -0300, Gustavo Sverzut Barbieri wrote:
> ---
>  Makefile.am | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 8a32880..62cf768 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
>  
> @@ -2468,6 +2467,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 \
> @@ -2489,7 +2492,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 at .service
Applied.

Zbyszek


More information about the systemd-devel mailing list