diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-11-25 12:03:53 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-11-25 12:04:40 +0100 |
commit | f2f0dbd273e30306428d6e63a84062e9ee5c427b (patch) | |
tree | 99b0d3ad5d31a72426a463f126b448a642a480a1 /tail_build | |
parent | 861acb431a785c321fe83a0b4ab01747147d1b85 (diff) |
make gbuild makefiles run independant of pwd again
Diffstat (limited to 'tail_build')
-rw-r--r-- | tail_build/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tail_build/Makefile b/tail_build/Makefile index 92241b5c70f4..f9ac01ef0747 100644 --- a/tail_build/Makefile +++ b/tail_build/Makefile @@ -1,8 +1,9 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- #************************************************************************* # # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # -# Copyright 2009 by Sun Microsystems, Inc. +# Copyright 2000, 2010 Oracle and/or its affiliates. # # OpenOffice.org - a multi-platform office productivity suite # @@ -25,14 +26,14 @@ # #************************************************************************* -# if no environment is set, try to find one, source it and re-exec ifeq ($(strip $(SOLARENV)),) -include ./solenv/gbuild/source_and_rerun.mk +include $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/../solenv/gbuild/source_and_rerun.mk else +gb_PARTIALBUILD := T include $(SOLARENV)/gbuild/gbuild.mk -$(eval $(call gb_Module_make_global_targets,$(SRC_ROOT)/Module_tail_build.mk)) +$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk))) endif # vim: set noet sw=4 ts=4: |