8000 [3.11] gh-97731: Specify the full path to the docs for `make docclean` (GH-98982) by miss-islington · Pull Request #99024 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.11] gh-97731: Specify the full path to the docs for make docclean (GH-98982) #99024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-97731: Specify the full path to the docs for make docclean (GH-9…
…8982)

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>
  • Loading branch information
brettcannon authored and miss-islington committed Nov 2, 2022
commit 8de7b7e3770e95646e8745ca5734171d93fb5af8
2 changes: 1 addition & 1 deletion Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -2389,7 +2389,7 @@ rmtestturds:
-rm -f gb-18030-2000.xml

docclean:
$(MAKE) -C Doc clean
$(MAKE) -C $(srcdir)/Doc clean

# like the 'clean' target but retain the profile guided optimization (PGO)
# data. The PGO data is only valid if source code remains unchanged.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Specify the full path to the source location for ``make docclean`` (needed for
cross-builds).
0