[Python-checkins] CVS: python/dist/src Makefile.pre.in,1.57,1.58

Guido van Rossum gvanrossum@users.sourceforge.net
Wed, 12 Sep 2001 11:59:27 -0700


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv23558

Modified Files:
	Makefile.pre.in 
Log Message:
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.)


Index: Makefile.pre.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/Makefile.pre.in,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** Makefile.pre.in	2001/09/11 14:41:54	1.57
--- Makefile.pre.in	2001/09/12 18:59:25	1.58
***************
*** 298,302 ****
  # Build the shared modules
  sharedmods: $(PYTHON)
! 	CC='$(CC)' LDSHARED='$(LDSHARED)' ./$(PYTHON) -E $(srcdir)/setup.py build
  
  # buildno should really depend on something like LIBRARY_SRC
--- 298,305 ----
  # Build the shared modules
  sharedmods: $(PYTHON)
! 	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