Don't delete test output when "make clean" is run -- only when "make

clobber" is run.  (Thanks Thomas W. for pointing this out!)
This commit is contained in:
Guido van Rossum 2007-08-29 23:35:30 +00:00
parent 77b5e33e7d
commit 5420bc3167
1 changed files with 2 additions and 2 deletions

View File

@ -1031,13 +1031,13 @@ rmtestturds:
-rm -f *.txt -rm -f *.txt
-rm -f gb-18030-2000.xml -rm -f gb-18030-2000.xml
clean: pycremoval rmtestturds clean: pycremoval
find . -name '*.o' -exec rm -f {} ';' find . -name '*.o' -exec rm -f {} ';'
find . -name '*.s[ol]' -exec rm -f {} ';' find . -name '*.s[ol]' -exec rm -f {} ';'
find $(srcdir)/build -name 'fficonfig.h' -exec rm -f {} ';' || true find $(srcdir)/build -name 'fficonfig.h' -exec rm -f {} ';' || true
find $(srcdir)/build -name 'fficonfig.py' -exec rm -f {} ';' || true find $(srcdir)/build -name 'fficonfig.py' -exec rm -f {} ';' || true
clobber: clean clobber: clean rmtestturds
-rm -f $(BUILDPYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \ -rm -f $(BUILDPYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \
tags TAGS \ tags TAGS \
config.cache config.log pyconfig.h Modules/config.c config.cache config.log pyconfig.h Modules/config.c