This is the mail archive of the
newlib-cvs@sourceware.org
mailing list for the newlib project.
[newlib-cygwin] make target for explicit Unicode data tables generation
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: newlib-cvs at sourceware dot org
- Date: 12 Mar 2018 13:25:15 -0000
- Subject: [newlib-cygwin] make target for explicit Unicode data tables generation
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c8d96a96eab0d2354b5c36b394e3fced60216b05
commit c8d96a96eab0d2354b5c36b394e3fced60216b05
Author: Thomas Wolff <towo@towo.net>
Date: Thu Mar 8 00:08:29 2018 +0100
make target for explicit Unicode data tables generation
Run 'make unidata' in newlib target directory to generate Unicode
data tables for libc functions wcwidth, tow* and isw*.
Diff:
---
newlib/Makefile.am | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/newlib/Makefile.am b/newlib/Makefile.am
index 205705d..809d492 100644
--- a/newlib/Makefile.am
+++ b/newlib/Makefile.am
@@ -382,6 +382,15 @@ endif
done ; \
else true; fi
+# Generate Unicode data tables for libc/string/wcwidth and libc/ctype/??w*
+unidata:
+ cd $(srcdir)/libc/string; ./mkunidata
+ cd $(srcdir)/libc/ctype; ./mkunidata
+
+unidate-download:
+ cd $(srcdir)/libc/string; ./mkunidata -u
+ cd $(srcdir)/libc/ctype; ./mkunidata -u
+
# Force makedoc to be built before building info files.
info-recursive: doc/makedoc
dvi-recursive: doc/makedoc