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

Skip to content

Commit dc4bf6b

Browse 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

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
@@ -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.
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