зеркало из https://github.com/mozilla/gecko-dev.git
If TOPSRCDIR_MOZ is not set, set it to TOPSRCDIR.
This commit is contained in:
Родитель
2fb2a921a2
Коммит
710046a5e7
|
@ -89,6 +89,10 @@ endif
|
||||||
# work; replace first instance with one forward slash
|
# work; replace first instance with one forward slash
|
||||||
TOPSRCDIR := $(shell echo "$(TOPSRCDIR)" | sed -e 's%//%/%')
|
TOPSRCDIR := $(shell echo "$(TOPSRCDIR)" | sed -e 's%//%/%')
|
||||||
|
|
||||||
|
ifndef TOPSRCDIR_MOZ
|
||||||
|
TOPSRCDIR_MOZ=$(TOPSRCDIR)
|
||||||
|
endif
|
||||||
|
|
||||||
# if ROOTDIR equals only drive letter (i.e. "C:"), set to "/"
|
# if ROOTDIR equals only drive letter (i.e. "C:"), set to "/"
|
||||||
DIRNAME := $(shell echo "$(ROOTDIR)" | sed -e 's/^.://')
|
DIRNAME := $(shell echo "$(ROOTDIR)" | sed -e 's/^.://')
|
||||||
ifeq ($(DIRNAME),)
|
ifeq ($(DIRNAME),)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче