Commit 84a1f213 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Simplify the computation

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent c106f09f
......@@ -44,8 +44,7 @@ CPPFLAGS += -DLOCALEDIR=\"${LOCALEDIR}\"
endif
ifeq (,$(findstring -DDBUSINTERFACEDIR,${CPPFLAGS}))
ifneq ($(WITH_LOCAL_DBUS_XML),0)
CDIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
CPPFLAGS += -DDBUSINTERFACEDIR=\"$(CDIR)/data\"
CPPFLAGS += -DDBUSINTERFACEDIR=\"$(abspath data)\"
else
CPPFLAGS += -DDBUSINTERFACEDIR=\"${DBUSINTERFACEDIR}\"
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment