зеркало из https://github.com/mozilla/pjs.git
Slightly safer test for LOOP_OVER_DIRS. Make sure a Makefile is there. This handles the case of 'gmake -f client.mk checkout clean build' where checkout adds a directory. ('clean' does not run configure. In fact, 'clean' removes files that configure generates.)
This commit is contained in:
Родитель
2496f14a92
Коммит
2879fada95
|
@ -239,8 +239,8 @@ endif
|
|||
ifdef DIRS
|
||||
LOOP_OVER_DIRS = \
|
||||
@for d in $(DIRS); do \
|
||||
$(UPDATE_TITLE); \
|
||||
if test -d $$d; then \
|
||||
$(UPDATE_TITLE); \
|
||||
if test -f $$d/Makefile; then \
|
||||
set $(EXIT_ON_ERROR); \
|
||||
echo "cd $$d; $(MAKE) $@"; \
|
||||
oldDir=`pwd`; \
|
||||
|
|
Загрузка…
Ссылка в новой задаче