]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove shared libraries as part of "make clean" rather than in "make
authorGuido van Rossum <guido@python.org>
Sat, 14 Apr 2001 17:57:07 +0000 (17:57 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 14 Apr 2001 17:57:07 +0000 (17:57 +0000)
clobber".  This is done so that after a "make clean", setup.py will
also recompile all extensions.

Makefile.pre.in

index 2686ad5e068c697b35a73e84e50546c5ac3207bc..f81702b4509d9163181fff86f056a4c5be8b0149 100644 (file)
@@ -751,11 +751,12 @@ TAGS::
 
 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) \
-               Modules/*.so Modules/*.sl tags TAGS \
+               tags TAGS \
                config.cache config.log config.h Modules/config.c 
        -rm -rf build