aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--abstractions/Makefile2
-rw-r--r--doc/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/abstractions/Makefile b/abstractions/Makefile
index 7e4bd82b..f54dc92f 100644
--- a/abstractions/Makefile
+++ b/abstractions/Makefile
@@ -10,7 +10,7 @@
CWD := $(shell pwd)
# these are designed to be overridden by the packages/Makefile
-cvs_root_dir = $(CWD)/..
+cvs_root_dir := $(shell cd $(CWD)/.. && pwd)
DESTDIR = $(CWD)/build/
BUILDLAYOUT_DIR = $(cvs_root_dir)/packages
diff --git a/doc/Makefile b/doc/Makefile
index 46bc173e..0badbb3d 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -10,7 +10,7 @@
CWD := $(shell pwd)
# these are designed to be overridden by the packages/Makefile
-cvs_root_dir = $(CWD)/..
+cvs_root_dir := $(shell cd $(CWD)/.. && pwd)
DESTDIR = $(CWD)/build/
BUILDLAYOUT_DIR = $(cvs_root_dir)/packages