Skip to content

Commit 22bab74

Browse files
authored
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.
1 parent e3ec272 commit 22bab74

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: Makefile.pre.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -2438,7 +2438,7 @@ rmtestturds:
24382438
-rm -f gb-18030-2000.xml
24392439

24402440
docclean:
2441-
$(MAKE) -C Doc clean
2441+
$(MAKE) -C $(srcdir)/Doc clean
24422442

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