mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 00:13:47 +01:00
Compute PWD correctly
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
4ee323a89a
commit
c106f09f28
3
Makefile
3
Makefile
@ -44,7 +44,8 @@ CPPFLAGS += -DLOCALEDIR=\"${LOCALEDIR}\"
|
|||||||
endif
|
endif
|
||||||
ifeq (,$(findstring -DDBUSINTERFACEDIR,${CPPFLAGS}))
|
ifeq (,$(findstring -DDBUSINTERFACEDIR,${CPPFLAGS}))
|
||||||
ifneq ($(WITH_LOCAL_DBUS_XML),0)
|
ifneq ($(WITH_LOCAL_DBUS_XML),0)
|
||||||
CPPFLAGS += -DDBUSINTERFACEDIR=\"${PWD}/data\"
|
CDIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
|
||||||
|
CPPFLAGS += -DDBUSINTERFACEDIR=\"$(CDIR)/data\"
|
||||||
else
|
else
|
||||||
CPPFLAGS += -DDBUSINTERFACEDIR=\"${DBUSINTERFACEDIR}\"
|
CPPFLAGS += -DDBUSINTERFACEDIR=\"${DBUSINTERFACEDIR}\"
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user