Commit c106f09f authored by Sebastian Ramacher's avatar Sebastian Ramacher

Compute PWD correctly

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 4ee323a8
......@@ -44,7 +44,8 @@ CPPFLAGS += -DLOCALEDIR=\"${LOCALEDIR}\"
endif
ifeq (,$(findstring -DDBUSINTERFACEDIR,${CPPFLAGS}))
ifneq ($(WITH_LOCAL_DBUS_XML),0)
CPPFLAGS += -DDBUSINTERFACEDIR=\"${PWD}/data\"
CDIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
CPPFLAGS += -DDBUSINTERFACEDIR=\"$(CDIR)/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