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 dc4bf6b

Browse filesBrowse files
gh-97731: Specify the full path to the docs for make docclean (GH-98982)
Specify the full path to the docs for `make docclean` This is to have `make clean` not error out on cross-builds. (cherry picked from commit 22bab74) Co-authored-by: Brett Cannon <brett@python.org>
1 parent 04ab357 commit dc4bf6b
Copy full SHA for dc4bf6b

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

+3
-1
lines changed

‎Makefile.pre.in

Copy file name to clipboardExpand all lines: Makefile.pre.in
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2389,7 +2389,7 @@ rmtestturds:
23892389
-rm -f gb-18030-2000.xml
23902390

23912391
docclean:
2392-
$(MAKE) -C Doc clean
2392+
$(MAKE) -C $(srcdir)/Doc clean
23932393

23942394
# like the 'clean' target but retain the profile guided optimization (PGO)
23952395
# data. The PGO data is only valid if source code remains unchanged.
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Specify the full path to the source location for ``make docclean`` (needed for
2+
cross-builds).

0 commit comments

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