When MAKEFLAGS contains '-s', invoke setup.py with '-q', to silence

its normally chatty nature.

(This completes a side project to make "make -s" truly silent unless
errors occur.)
This commit is contained in:
Guido van Rossum 2001-09-12 18:59:25 +00:00
parent 111f60964e
commit 1140cb2b9e
1 changed files with 4 additions and 1 deletions

View File

@ -297,7 +297,10 @@ platform: $(PYTHON)
# Build the shared modules
sharedmods: $(PYTHON)
CC='$(CC)' LDSHARED='$(LDSHARED)' ./$(PYTHON) -E $(srcdir)/setup.py build
case $$MAKEFLAGS in \
*-s*) CC='$(CC)' LDSHARED='$(LDSHARED)' ./$(PYTHON) -E $(srcdir)/setup.py -q build;; \
*) CC='$(CC)' LDSHARED='$(LDSHARED)' ./$(PYTHON) -E $(srcdir)/setup.py build;; \
esac
# buildno should really depend on something like LIBRARY_SRC
buildno: $(PARSER_OBJS) \