summaryrefslogtreecommitdiff
path: root/svtools/Makefile
diff options
context:
space:
mode:
authorBjoern Michaelsen <b_michaelsen@openoffice.org>2010-07-07 18:09:58 +0200
committerBjoern Michaelsen <b_michaelsen@openoffice.org>2010-07-07 18:09:58 +0200
commitf4e0343a4dc083f8c255cf40f567e635e6fe7eaf (patch)
tree18fd73c573a48e88cbe0ca265d6af50170df3aed /svtools/Makefile
parentb2f9ce87249dfe76e25e2d6062c50c38fc60df23 (diff)
CWS gnumake2: fixing all module makefiles (copy from tools)
Diffstat (limited to 'svtools/Makefile')
-rw-r--r--svtools/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/svtools/Makefile b/svtools/Makefile
index 60d34122e271..b198cc3d4c32 100644
--- a/svtools/Makefile
+++ b/svtools/Makefile
@@ -25,13 +25,10 @@
#
#*************************************************************************
-ifeq ($(strip $(SOLARENV)),)
-$(error No environment set)
-endif
-
+include $(dir $(firstword $(MAKEFILE_LIST)))/../SourcePath.mk
GBUILDDIR := $(SOLARENV)/gbuild
include $(GBUILDDIR)/gbuild.mk
-$(eval $(call gb_Module_make_global_targets))
+$(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: