diff options
author | Guido van Rossum <guido@python.org> | 2001-09-12 18:59:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-09-12 18:59:25 (GMT) |
commit | 1140cb2b9e74ce302c35e84ac04adc0b11e2db00 (patch) | |
tree | cbd49bb502a80deb0796a6d4ebbf8d30663498d1 /Makefile.pre.in | |
parent | 111f60964ee438e64d82cb884f9dfdec10321b7c (diff) | |
download | cpython-1140cb2b9e74ce302c35e84ac04adc0b11e2db00.zip cpython-1140cb2b9e74ce302c35e84ac04adc0b11e2db00.tar.gz cpython-1140cb2b9e74ce302c35e84ac04adc0b11e2db00.tar.bz2 |
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.)
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 67446cdd..9c05dd8 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -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) \ |