diff mbox series

[BlueZ,2/4] build: install obexd (dbus,systemd} services as needed

Message ID 20240214-hook-fixup-v1-2-0e158ffea140@gmail.com
State Superseded
Headers show
Series Handful of build fixes and cleanups | expand

Commit Message

Emil Velikov via B4 Relay Feb. 14, 2024, 10:01 p.m. UTC
From: Emil Velikov <emil.l.velikov@gmail.com>

Currently we ship the service files, even when built with
--disable-obex.

Move the if OBEX guard few lines further up.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
---
 Makefile.obexd | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Makefile.obexd b/Makefile.obexd
index b91ca6644..4a89e0335 100644
--- a/Makefile.obexd
+++ b/Makefile.obexd
@@ -1,4 +1,6 @@ 
 # SPDX-License-Identifier: GPL-2.0
+if OBEX
+
 if SYSTEMD
 systemduserunitdir = $(SYSTEMD_USERUNITDIR)
 systemduserunit_DATA = obexd/src/obex.service
@@ -7,7 +9,6 @@  endif
 dbussessionbusdir = $(DBUS_SESSIONBUSDIR)
 dbussessionbus_DATA = obexd/src/org.bluez.obex.service
 
-if OBEX
 
 obex_plugindir = $(libdir)/obex/plugins