mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 08:16:00 +01:00
Simplify the computation
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
c106f09f28
commit
84a1f213d6
1 changed files with 1 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue