If TOPSRCDIR_MOZ is not set, set it to TOPSRCDIR.

This commit is contained in:
seawood%netscape.com 2002-01-29 13:12:50 +00:00
Родитель 2fb2a921a2
Коммит 710046a5e7
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -89,6 +89,10 @@ endif
# work; replace first instance with one forward slash
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 "/"
DIRNAME := $(shell echo "$(ROOTDIR)" | sed -e 's/^.://')
ifeq ($(DIRNAME),)