Backed out changeset 3e1290bba902 - Bug 525221 which was committed accidentally.

This commit is contained in:
Benjamin Smedberg 2009-11-10 09:52:47 -05:00
parent 4721d50556
commit 3b4d5b0377

View File

@ -172,13 +172,18 @@ ifndef RELEASE_LIBS_DEST
RELEASE_LIBS_DEST = $(RELEASE_LIB_DIR)
endif
define MAKE_DIR
$(MAKE) -C $(dir) $@
endef
ifdef DIRS
LOOP_OVER_DIRS = $(foreach dir,$(wildcard $(DIRS)),$(MAKE_DIR))
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
endif
################################################################################