Bug 572529 Make it even easier to build with pymake r=ted

This commit is contained in:
Neil Rashbrook 2010-06-30 12:45:21 +01:00
parent 84258324f3
commit 2bc3783f07

View File

@ -84,9 +84,11 @@ endif
ifndef TOPSRCDIR
ifeq (,$(wildcard client.mk))
$(error Must run from the client.mk directory, or specify TOPSRCDIR)
TOPSRCDIR := $(patsubst %/,%,$(dir $(MAKEFILE_LIST)))
MOZ_OBJDIR = .
else
TOPSRCDIR := $(CWD)
endif
TOPSRCDIR = $(CWD)
endif
# try to find autoconf 2.13 - discard errors from 'which'