From 5a8c4b9464fedb7c0e1150d69d3e12b479138d07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 28 Oct 2022 13:31:33 +0200 Subject: [PATCH] gh-98776: Fix make regen-test-levenshtein for out-of-tree builds (GH-98779) Fixes https://github.com/python/cpython/issues/98776 Automerge-Triggered-By: GH:erlend-aasland --- Makefile.pre.in | 2 +- .../next/Build/2022-10-27-19-47-31.gh-issue-98776.lt_UOG.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Build/2022-10-27-19-47-31.gh-issue-98776.lt_UOG.rst diff --git a/Makefile.pre.in b/Makefile.pre.in index 6ab1422c789..9b35398c4fe 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -961,7 +961,7 @@ regen-test-frozenmain: $(BUILDPYTHON) .PHONY: regen-test-levenshtein regen-test-levenshtein: # Regenerate Lib/test/levenshtein_examples.json - $(PYTHON_FOR_REGEN) $(srcdir)/Tools/build/generate_levenshtein_examples.py Lib/test/levenshtein_examples.json + $(PYTHON_FOR_REGEN) $(srcdir)/Tools/build/generate_levenshtein_examples.py $(srcdir)/Lib/test/levenshtein_examples.json .PHONY: regen-re regen-re: $(BUILDPYTHON) diff --git a/Misc/NEWS.d/next/Build/2022-10-27-19-47-31.gh-issue-98776.lt_UOG.rst b/Misc/NEWS.d/next/Build/2022-10-27-19-47-31.gh-issue-98776.lt_UOG.rst new file mode 100644 index 00000000000..049f13463b8 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2022-10-27-19-47-31.gh-issue-98776.lt_UOG.rst @@ -0,0 +1 @@ +Fix ``make regen-test-levenshtein`` for out-of-tree builds.