mirror of https://github.com/python/cpython
gh-96954: Fix `make regen-unicodedata` in out-of-tree builds (#112118)
This avoids: python3.13 Tools/unicode/makeunicodedata.py python3.13: can't open file '.../build/debug/Tools/unicode/makeunicodedata.py': [Errno 2] No such file or directory make: *** [Makefile:1498: regen-unicodedata] Error 2 Re-run `make regen-unicodedata` to update the script path in generated files.
This commit is contained in:
parent
58469244be
commit
ec05507367
|
@ -1348,7 +1348,7 @@ regen-limited-abi: all
|
|||
|
||||
.PHONY: regen-unicodedata
|
||||
regen-unicodedata:
|
||||
$(PYTHON_FOR_REGEN) Tools/unicode/makeunicodedata.py
|
||||
$(PYTHON_FOR_REGEN) $(srcdir)/Tools/unicode/makeunicodedata.py
|
||||
|
||||
|
||||
############################################################################
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Make ``make regen-unicodedata`` work for out-of-tree builds of CPython.
|
|
@ -1,4 +1,4 @@
|
|||
/* this file was generated by Tools/unicode/makeunicodedata.py 3.3 */
|
||||
/* this file was generated by ./Tools/unicode/makeunicodedata.py 3.3 */
|
||||
|
||||
#define UNIDATA_VERSION "15.1.0"
|
||||
/* a list of unique database records */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* this file was generated by Tools/unicode/makeunicodedata.py 3.3 */
|
||||
/* this file was generated by ./Tools/unicode/makeunicodedata.py 3.3 */
|
||||
|
||||
#define NAME_MAXLEN 256
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* this file was generated by Tools/unicode/makeunicodedata.py 3.3 */
|
||||
/* this file was generated by ./Tools/unicode/makeunicodedata.py 3.3 */
|
||||
|
||||
/* a list of unique character type descriptors */
|
||||
const _PyUnicode_TypeRecord _PyUnicode_TypeRecords[] = {
|
||||
|
|
Loading…
Reference in New Issue