8000 gh-97731: Specify the full path to the docs for `make docclean` (GH-9… · miss-islington/cpython@adbdac4 · GitHub
[go: up one dir, main page]

Skip to content

Commit adbdac4

Browse files
brettcannonmiss-islington
authored andcommitted
pythongh-97731: Specify the full path to the docs for make docclean (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>
1 parent c23862f commit adbdac4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1898,7 +1898,7 @@ rmtestturds:
18981898
-rm -f gb-18030-2000.xml
18991899

19001900
docclean:
1901-
$(MAKE) -C Doc clean
1901+
$(MAKE) -C $(srcdir)/Doc clean
19021902

19031903
# like the 'clean' target but retain the profile guided optimization (PGO)
19041904
# data. The PGO data is only valid if source code remains unchanged.
Lines 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