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
This commit is contained in:
Miro Hrončok 2022-10-28 13:31:33 +02:00 committed by GitHub
parent c144e57b31
commit 5a8c4b9464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -0,0 +1 @@
Fix ``make regen-test-levenshtein`` for out-of-tree builds.