Commit 1140cb2b authored by Guido van Rossum's avatar Guido van Rossum

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.)
parent 111f6096
......@@ -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) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment