summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-08-29 23:48:29 (GMT)
committerGuido van Rossum <guido@python.org>2007-08-29 23:48:29 (GMT)
commit8188e63452e9d49729b3c2553412bd58f7c7249e (patch)
tree8100228b0decf3cd6ab5743055d6fc8d6b854477 /Makefile.pre.in
parent95fb569f4678f516b707b743bacc1be684a71d0b (diff)
downloadcpython-8188e63452e9d49729b3c2553412bd58f7c7249e.zip
cpython-8188e63452e9d49729b3c2553412bd58f7c7249e.tar.gz
cpython-8188e63452e9d49729b3c2553412bd58f7c7249e.tar.bz2
When clobbering, also clean the docs.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 1a881c7..1942f88 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -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