зеркало из https://github.com/mozilla/pjs.git
Bug 525221 - Loop over DIRS better in NSPR, r=ted
--HG-- extra : rebase_source : 23fa2f7da8b88265a19147a552cbf44d3f869274
This commit is contained in:
Родитель
7b2903ac2c
Коммит
d60e5103ba
|
@ -172,18 +172,13 @@ ifndef RELEASE_LIBS_DEST
|
|||
RELEASE_LIBS_DEST = $(RELEASE_LIB_DIR)
|
||||
endif
|
||||
|
||||
define MAKE_DIR
|
||||
$(MAKE) -C $(dir) $@
|
||||
|
||||
endef
|
||||
|
||||
ifdef DIRS
|
||||
LOOP_OVER_DIRS = \
|
||||
@for d in $(DIRS); do \
|
||||
if test -d $$d; then \
|
||||
set -e; \
|
||||
echo "cd $$d; $(MAKE) $@"; \
|
||||
$(MAKE) -C $$d $@; \
|
||||
set +e; \
|
||||
else \
|
||||
echo "Skipping non-directory $$d..."; \
|
||||
fi; \
|
||||
done
|
||||
LOOP_OVER_DIRS = $(foreach dir,$(wildcard $(DIRS)),$(MAKE_DIR))
|
||||
endif
|
||||
|
||||
################################################################################
|
||||
|
|
Загрузка…
Ссылка в новой задаче