diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-05-18 14:51:51 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-05-18 14:59:10 +0200 |
commit | 7ab1bfab1d2d9bc672079e1ac6c2433582b59955 (patch) | |
tree | 4aaaa853e872ccabb8e7fc046a2f406fd48f9033 | |
parent | 0a281113c7047d2a29b1e1d857ead59b56b83e97 (diff) |
still needs module_directory
-rw-r--r-- | translations/Makefile | 4 |
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 |