--- a/Makefile.obexd +++ b/Makefile.obexd @@ -4,15 +4,14 @@ if SYSTEMD systemduserunit_DATA += obexd/src/obex.service -dbussessionbusdir = $(DBUS_SESSIONBUSDIR) -dbussessionbus_DATA = obexd/src/org.bluez.obex.service - obexd-add-service-symlink: $(LN_S) -f obex.service $(DESTDIR)$(SYSTEMD_USERUNITDIR)/dbus-org.bluez.obex.service obexd-remove-service-symlink: rm -f $(DESTDIR)$(SYSTEMD_USERUNITDIR)/dbus-org.bluez.obex.service else +dbussessionbusdir = $(DBUS_SESSIONBUSDIR) +dbussessionbus_DATA = obexd/src/org.bluez.obex.service obexd-add-service-symlink: obexd-remove-service-symlink: endif