Skip to content

Commit

Permalink
When clobbering, also clean the docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed Aug 29, 2007
1 parent 95fb569 commit 8188e63
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8188e63

Please sign in to comment.