]> granicus.if.org Git - python/commitdiff
Don't delete test output when "make clean" is run -- only when "make
authorGuido van Rossum <guido@python.org>
Wed, 29 Aug 2007 23:35:30 +0000 (23:35 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 29 Aug 2007 23:35:30 +0000 (23:35 +0000)
clobber" is run.  (Thanks Thomas W. for pointing this out!)

Makefile.pre.in

index 0911336a533db4f61b95d9a343e751899314f710..1a881c7ec15ebbac828a4889e00bdb1eb88a4ead 100644 (file)
@@ -1031,13 +1031,13 @@ rmtestturds:
        -rm -f *.txt
        -rm -f gb-18030-2000.xml
 
-clean: pycremoval rmtestturds
+clean: pycremoval
        find . -name '*.o' -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.py' -exec rm -f {} ';' || true
 
-clobber: clean
+clobber: clean rmtestturds
        -rm -f $(BUILDPYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \
                tags TAGS \
                config.cache config.log pyconfig.h Modules/config.c