diff options
-rw-r--r-- | translations/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/translations/Makefile b/translations/Makefile index cda6586a739..c8234c4840e 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))))../../.. +endif -include $(module_directory)../../../solenv/gbuild/partial_build.mk +include $(SRC_ROOT)/solenv/gbuild/partial_build.mk # vim: set noet sw=4 ts=4: |