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

Guido van Rossum gvanrossum@users.sourceforge.net
Sat, 14 Apr 2001 10:57:10 -0700


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

Modified Files:
	Makefile.pre.in 
Log Message:
Remove shared libraries as part of "make clean" rather than in "make
clobber".  This is done so that after a "make clean", setup.py will
also recompile all extensions.


Index: Makefile.pre.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/Makefile.pre.in,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -r1.34 -r1.35
*** Makefile.pre.in	2001/04/11 20:56:18	1.34
--- Makefile.pre.in	2001/04/14 17:57:07	1.35
***************
*** 752,760 ****
  clean:
  	find . -name '*.o' -exec rm -f {} ';'
  	find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
  
  clobber: clean
  	-rm -f $(PYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \
! 		Modules/*.so Modules/*.sl tags TAGS \
  		config.cache config.log config.h Modules/config.c 
  	-rm -rf build
--- 752,761 ----
  clean:
  	find . -name '*.o' -exec rm -f {} ';'
+ 	find . -name '*.s[ol]' -exec rm -f {} ';'
  	find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
  
  clobber: clean
  	-rm -f $(PYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \
! 		tags TAGS \
  		config.cache config.log config.h Modules/config.c 
  	-rm -rf build