]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
When clobbering, also clean the docs.
authorGuido van Rossum <guido@python.org>
Wed, 29 Aug 2007 23:48:29 +0000 (23:48 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 29 Aug 2007 23:48:29 +0000 (23:48 +0000)
Makefile.pre.in

index 1a881c7ec15ebbac828a4889e00bdb1eb88a4ead..1942f885785237744e459f5f6ff5da4e16cdb064 100644 (file)
@@ -1031,13 +1031,17 @@ rmtestturds:
        -rm -f *.txt
        -rm -f gb-18030-2000.xml
 
+docclean:
+       -rm -rf Doc/build
+       -rm -rf Doc/tools/sphinx Doc/tools/pygments Doc/tools/docutils
+
 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 rmtestturds
+clobber: clean rmtestturds docclean
        -rm -f $(BUILDPYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \
                tags TAGS \
                config.cache config.log pyconfig.h Modules/config.c