Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 989bdbc

Browse filesBrowse files
authored
[3.10] gh-97731: fix distclean target to clean docs GH-97732 (#97846)
Backport gh-97731: fix distclean target to clean docs #97732 to 3.10
1 parent 19ed29e commit 989bdbc
Copy full SHA for 989bdbc

File tree

Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed

‎Makefile.pre.in

Copy file name to clipboardExpand all lines: Makefile.pre.in
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1897,8 +1897,7 @@ rmtestturds:
18971897
-rm -f gb-18030-2000.xml
18981898

18991899
docclean:
1900-
-rm -rf Doc/build
1901-
-rm -rf Doc/tools/sphinx Doc/tools/pygments Doc/tools/docutils
1900+
$(MAKE) -C Doc clean
19021901

19031902
# like the 'clean' target but retain the profile guided optimization (PGO)
19041903
# data. The PGO data is only valid if source code remains unchanged.
@@ -1942,7 +1941,7 @@ clobber: clean
19421941
# Make things extra clean, before making a distribution:
19431942
# remove all generated files, even Makefile[.pre]
19441943
# Keep configure and Python-ast.[ch], it's possible they can't be generated
1945-
distclean: clobber
1944+
distclean: clobber docclean
19461945
for file in $(srcdir)/Lib/test/data/* ; do \
19471946
if test "$$file" != "$(srcdir)/Lib/test/data/README"; then rm "$$file"; fi; \
19481947
done

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.