Skip to content

Commit 0774f83

Browse files
[3.10] gh-97731: Specify the full path to the docs for make docclean (GH-98982) (#99025)
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)
1 parent c23862f commit 0774f83

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile.pre.in

+1-1
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.
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)