summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorBjoern Michaelsen <b_michaelsen@openoffice.org>2010-06-25 21:46:32 +0200
committerBjoern Michaelsen <b_michaelsen@openoffice.org>2010-06-25 21:46:32 +0200
commit1f79d3036954bfca21f6ff7ee9a27bf38439924d (patch)
tree7fa4275017258cf3dd42242a5cfcbdbee3fdfb53 /tools/Makefile
parent1801d21c82fbdc8e63785313c488ea220456dda4 (diff)
CWS gnumake2: intermediate commit (module rework)
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 9ab4b8ba83f4..265fdac07bb1 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -28,9 +28,6 @@
GBUILDDIR := $(SOLARENV)/gbuild
include $(GBUILDDIR)/gbuild.mk
-
-gb_CURRENT_MODULE := $(lastword $(subst /, ,$(dir $(realpath $(firstword $(MAKEFILE_LIST))))))
-
-$(eval $(call gb_Module_make_global_targets,$(gb_CURRENT_MODULE)))
+$(eval $(call gb_Module_make_global_targets,$(patsubst %/,%,$(dir $(realpath $(firstword $(MAKEFILE_LIST)))))))
# vim: set noet sw=4 ts=4: