aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--translations/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/translations/Makefile b/translations/Makefile
index c8234c4840e..6b38ac593bf 100644
--- a/translations/Makefile
+++ b/translations/Makefile
@@ -1,7 +1,9 @@
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+module_directory=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
+
ifeq ($(origin SRC_ROOT),undefined)
-SRC_ROOT=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))../../..
+SRC_ROOT=$(module_directory)../../..
endif
include $(SRC_ROOT)/solenv/gbuild/partial_build.mk