mirror of https://github.com/python/cpython.git
[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 22bab74c8f
)
This commit is contained in:
parent
c23862fc6c
commit
0774f83eed
|
@ -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.
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Specify the full path to the source location for ``make docclean`` (needed for
|
||||
cross-builds).
|
Loading…
Reference in New Issue