summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorBjoern Michaelsen <b_michaelsen@openoffice.org>2010-06-26 01:29:37 +0200
committerBjoern Michaelsen <b_michaelsen@openoffice.org>2010-06-26 01:29:37 +0200
commitf51c9e5db1b84ce92bb75d3a5faf6ebe9ef5dcc9 (patch)
tree591bd5f5f3fddad356faad6697f3b563d5f82ca7 /tools/Makefile
parent1f79d3036954bfca21f6ff7ee9a27bf38439924d (diff)
CWS gnumake2: module reorg
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 265fdac07bb1..60d34122e271 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -25,9 +25,13 @@
#
#*************************************************************************
+ifeq ($(strip $(SOLARENV)),)
+$(error No environment set)
+endif
+
GBUILDDIR := $(SOLARENV)/gbuild
include $(GBUILDDIR)/gbuild.mk
-$(eval $(call gb_Module_make_global_targets,$(patsubst %/,%,$(dir $(realpath $(firstword $(MAKEFILE_LIST)))))))
+$(eval $(call gb_Module_make_global_targets))
# vim: set noet sw=4 ts=4: