Skip to content

Commit 8188e63

Browse files
committed
When clobbering, also clean the docs.
1 parent 95fb569 commit 8188e63

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile.pre.in

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,13 +1031,17 @@ rmtestturds:
10311031
-rm -f *.txt
10321032
-rm -f gb-18030-2000.xml
10331033

1034+
docclean:
1035+
-rm -rf Doc/build
1036+
-rm -rf Doc/tools/sphinx Doc/tools/pygments Doc/tools/docutils
1037+
10341038
clean: pycremoval
10351039
find . -name '*.o' -exec rm -f {} ';'
10361040
find . -name '*.s[ol]' -exec rm -f {} ';'
10371041
find $(srcdir)/build -name 'fficonfig.h' -exec rm -f {} ';' || true
10381042
find $(srcdir)/build -name 'fficonfig.py' -exec rm -f {} ';' || true
10391043

1040-
clobber: clean rmtestturds
1044+
clobber: clean rmtestturds docclean
10411045
-rm -f $(BUILDPYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \
10421046
tags TAGS \
10431047
config.cache config.log pyconfig.h Modules/config.c

0 commit comments

Comments
 (0)