Skip to content

Commit

Permalink
pythongh-97731: Specify the full path to the docs for make docclean (
Browse files Browse the repository at this point in the history
…pythonGH-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>
  • Loading branch information
brettcannon authored and miss-islington committed Nov 2, 2022
1 parent c23862f commit adbdac4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -1898,7 +1898,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 comments on commit adbdac4

Please sign in to comment.