summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorBjoern Michaelsen <b_michaelsen@openoffice.org>2010-07-05 18:06:39 +0200
committerBjoern Michaelsen <b_michaelsen@openoffice.org>2010-07-05 18:06:39 +0200
commit396a4b3141eef99475a4f4b61ae754db69531e12 (patch)
treed2d29b7efe490fb53f4251967ed751c623d01a6d /tools/Makefile
parent5fc7423878d02fac53b3140aff0d6d89fd74232d (diff)
CWS gnumake2: more multi-repo work for modules
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 60d34122e271..cd5308a477df 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -32,6 +32,7 @@ endif
GBUILDDIR := $(SOLARENV)/gbuild
include $(GBUILDDIR)/gbuild.mk
-$(eval $(call gb_Module_make_global_targets))
+$(eval $(call gb_Module_set_current_repo,$(realpath $(gb_Module_CURRENTREPO)..)))
+$(eval $(call gb_Module_make_global_targets,$(foreach module,$(lastword $(subst /, ,$(dir $(realpath $(firstword $(MAKEFILE_LIST)))))),$(module)/Module_$(module).mk)))
# vim: set noet sw=4 ts=4: