diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-11-02 12:58:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-02 12:58:48 -0700 |
commit | dc4bf6b229f5750a26b7fb5a89b02eab25ee61a1 (patch) | |
tree | 48653ee09bec0fa572aaf3c6520efb8d6f0d9e4b /Makefile.pre.in | |
parent | 04ab3574311063ca90c28a5380ee6e5467f8d05d (diff) | |
download | cpython3-dc4bf6b229f5750a26b7fb5a89b02eab25ee61a1.tar.gz |
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.
(cherry picked from commit 22bab74c8f5fa6d53ddb7e40baa4334d09331c0f)
Co-authored-by: Brett Cannon <brett@python.org>
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index e837a64a3c..17466c91b3 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -2389,7 +2389,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. |