summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorBjoern Michaelsen <b_michaelsen@openoffice.org>2010-11-11 00:37:05 +0100
committerBjoern Michaelsen <b_michaelsen@openoffice.org>2010-11-11 00:37:05 +0100
commit7db4aad0c12b0a5646d0c5d3be6ebaed942a1bb9 (patch)
tree22c086b8befc7d7bf1b0f0958cd38ed88ad18c8a /tools/Makefile
parent4754f7db2b40388c675b49d11c05e9e810a56bcd (diff)
gnumake2: fixing module makefile
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 45de5eecabc0..b7391a8db240 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -30,10 +30,9 @@ $(error No environment set!)
endif
gb_PARTITIALBUILD := T
-include $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/../SourcePath.mk
GBUILDDIR := $(SOLARENV)/gbuild
include $(GBUILDDIR)/gbuild.mk
-$(eval $(call gb_Module_make_global_targets,$(foreach module,$(lastword $(subst /, ,$(dir $(realpath $(firstword $(MAKEFILE_LIST)))))),$(CURRENTREPO)/$(module)/Module_$(module).mk)))
+$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
# vim: set noet sw=4 ts=4: