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
22bab74c8f5fa6d53ddb7e40baa4334d09331c0f)
Co-authored-by: Brett Cannon <brett@python.org>
-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.
--- /dev/null
+Specify the full path to the source location for ``make docclean`` (needed for
+cross-builds).