3 Files in this directory are used to generate locale source files
4 from files in CLDR (Unicode Common Locale Data Repository).
6 To generate the files, do the following:
8 cd /usr/src/tools/tools/locale
10 make -j16 (-jN recommended)
11 make diff (check if the changes are reasonable)
14 "make" downloads the necessary files, build them, and install the
15 results into /usr/src/share/* as source files for locales.
17 More details are as follows:
21 Destination path for the generated locale files.
22 Default: ${SRCTOP}/share.
29 Create a temporary directory for building.
32 Clean up the obj directories. Note that this does not
33 clean up tools or posix locale source files generated
34 from the CLDR files because it takes a long time to generate
35 them and they are not changed as long as using the same
36 CLDR files. "make clean && make build" will
37 regenerate the locale source files for src/share/*def.
40 Remove the obj directories completely.
43 Check if necessary tools are installed or not.
44 If something is missing, install them.
47 Download necessary files from CLDR.
50 Build a tool to generate locale source files.
53 Build POSIX locale source files.
59 Run diff(1) the build results against $LOCALESRCDIR.
62 Install the build results into $LOCALESRCDIR.
65 Generate widths.txt. Requires pkgconf and utf8proc
66 packages to be installed.