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:
Brett Cannon 2022-11-02 12:34:22 -07:00 committed by GitHub
parent e3ec272f57
commit 22bab74c8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -0,0 +1,2 @@
Specify the full path to the source location for ``make docclean`` (needed for
cross-builds).