summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2017-02-09 16:23:52 +0100
committerBenoit Foucher <benoit@zeroc.com>2017-02-09 16:23:52 +0100
commiteb86225cfd7e0ef6d045046255cac0449e7aaf8c (patch)
tree8feb20ea33fa3035c59ace5516e4f4571a03c890 /cpp
parentImproved readValue/readProxy methods and streaming helpers (diff)
downloadice-eb86225cfd7e0ef6d045046255cac0449e7aaf8c.tar.bz2
ice-eb86225cfd7e0ef6d045046255cac0449e7aaf8c.tar.xz
ice-eb86225cfd7e0ef6d045046255cac0449e7aaf8c.zip
Fixed Makefiles to not use absolute paths
Diffstat (limited to 'cpp')
-rw-r--r--cpp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/Makefile b/cpp/Makefile
index f21258960a5..8e8e6ec0c89 100644
--- a/cpp/Makefile
+++ b/cpp/Makefile
@@ -7,8 +7,8 @@
#
# **********************************************************************
-lang_srcdir := $(abspath $(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
-top_srcdir := $(abspath $(lang_srcdir)/../)
+top_srcdir := ..
+lang_srcdir := $(top_srcdir)/$(notdir $(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST))))))
include $(top_srcdir)/config/Make.rules
include $(lang_srcdir)/config/Make.rules