diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-11-02 21:05:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-02 21:05:00 (GMT) |
commit | 0774f83eed34e028a0771e43c1766734bf1643f0 (patch) | |
tree | 237956ddf9769a177bb89c946571f51f0a45b02a | |
parent | c23862fc6c3195eccc3cd71e45d7b336dc0d5d50 (diff) | |
download | cpython-0774f83eed34e028a0771e43c1766734bf1643f0.zip cpython-0774f83eed34e028a0771e43c1766734bf1643f0.tar.gz cpython-0774f83eed34e028a0771e43c1766734bf1643f0.tar.bz2 |
[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 22bab74c8f5fa6d53ddb7e40baa4334d09331c0f)
-rw-r--r-- | Makefile.pre.in | 2 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Build/2022-11-02-18-45-35.gh-issue-97731.zKpTlj.rst | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 8ee44bf..51c31b9 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -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. diff --git a/Misc/NEWS.d/next/Build/2022-11-02-18-45-35.gh-issue-97731.zKpTlj.rst b/Misc/NEWS.d/next/Build/2022-11-02-18-45-35.gh-issue-97731.zKpTlj.rst new file mode 100644 index 0000000..46b1fb8 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2022-11-02-18-45-35.gh-issue-97731.zKpTlj.rst @@ -0,0 +1,2 @@ +Specify the full path to the source location for ``make docclean`` (needed for +cross-builds). |