diff options
author | Bjoern Michaelsen <b_michaelsen@openoffice.org> | 2010-07-06 12:47:44 +0200 |
---|---|---|
committer | Bjoern Michaelsen <b_michaelsen@openoffice.org> | 2010-07-06 12:47:44 +0200 |
commit | 35d5e1b45653eafe422c281356df9d833da43e04 (patch) | |
tree | d26d0bcbef9af54c9472ad377dcea58722fa2b6d /tools/Makefile | |
parent | 396a4b3141eef99475a4f4b61ae754db69531e12 (diff) |
CWS gnumake2: more multi-repo work
Diffstat (limited to 'tools/Makefile')
-rw-r--r-- | tools/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tools/Makefile b/tools/Makefile index cd5308a477df..903d994acd8b 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -25,14 +25,9 @@ # #************************************************************************* -ifeq ($(strip $(SOLARENV)),) -$(error No environment set) -endif - -GBUILDDIR := $(SOLARENV)/gbuild +include $(dir $(firstword $(MAKEFILE_LIST)))/../SourcePaths.mk include $(GBUILDDIR)/gbuild.mk -$(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))) +$(eval $(call gb_Module_make_global_targets,$(foreach module,$(lastword $(subst /, ,$(dir $(realpath $(firstword $(MAKEFILE_LIST)))))),$(CURRENTREPO)/$(module)/Module_$(module).mk))) # vim: set noet sw=4 ts=4: |