mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
e3ec272f57
commit
22bab74c8f
|
@ -2438,7 +2438,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