summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.pre.in2
-rw-r--r--Misc/NEWS.d/next/Build/2023-11-15-16-56-20.gh-issue-96954.6FYvKn.rst1
-rw-r--r--Modules/unicodedata_db.h2
-rw-r--r--Modules/unicodename_db.h2
-rw-r--r--Objects/unicodetype_db.h2
5 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 4fa0337..3405975 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -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
############################################################################
diff --git a/Misc/NEWS.d/next/Build/2023-11-15-16-56-20.gh-issue-96954.6FYvKn.rst b/Misc/NEWS.d/next/Build/2023-11-15-16-56-20.gh-issue-96954.6FYvKn.rst
new file mode 100644
index 0000000..e9a30e5
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2023-11-15-16-56-20.gh-issue-96954.6FYvKn.rst
@@ -0,0 +1 @@
+Make ``make regen-unicodedata`` work for out-of-tree builds of CPython.
diff --git a/Modules/unicodedata_db.h b/Modules/unicodedata_db.h
index ed4b0ee..3e21086 100644
--- a/Modules/unicodedata_db.h
+++ b/Modules/unicodedata_db.h
@@ -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 */
diff --git a/Modules/unicodename_db.h b/Modules/unicodename_db.h
index a39dccc..4fe60ad 100644
--- a/Modules/unicodename_db.h
+++ b/Modules/unicodename_db.h
@@ -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
diff --git a/Objects/unicodetype_db.h b/Objects/unicodetype_db.h
index 39a567d..e6dbeff 100644
--- a/Objects/unicodetype_db.h
+++ b/Objects/unicodetype_db.h
@@ -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[] = {