From b742fb029d7d24f032c606cb72065b698db1aed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janosch=20Mu=CC=88ller?= Date: Thu, 13 Apr 2023 20:43:06 +0200 Subject: [DOC] Update how to run tool/enc-unicode.rb --- tool/enc-unicode.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tool') diff --git a/tool/enc-unicode.rb b/tool/enc-unicode.rb index db47c00c61..3fdbe71634 100755 --- a/tool/enc-unicode.rb +++ b/tool/enc-unicode.rb @@ -5,10 +5,13 @@ # # To use this, get UnicodeData.txt, Scripts.txt, PropList.txt, # PropertyAliases.txt, PropertyValueAliases.txt, DerivedCoreProperties.txt, -# DerivedAge.txt and Blocks.txt from unicode.org. +# DerivedAge.txt, Blocks.txt, emoji/emoji-data.txt, +# auxiliary/GraphemeBreakProperty.txt from unicode.org # (http://unicode.org/Public/UNIDATA/) And run following command. -# ruby1.9 tool/enc-unicode.rb data_dir > enc/unicode/name2ctype.kwd +# tool/enc-unicode.rb data_dir emoji_data_dir > enc/unicode/name2ctype.kwd # You can get source file for gperf. After this, simply make ruby. +# Or directly run: +# tool/enc-unicode.rb --header data_dir emoji_data_dir > enc/unicode//name2ctype.h while arg = ARGV.shift case arg -- cgit v1.2.1