From b78429d78df745dd327b6dada6b9bd71ea5df84e Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 22 Jul 2013 11:37:11 +0800 Subject: import libpinyin code --- scripts/Makefile.data | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/Makefile.data (limited to 'scripts/Makefile.data') diff --git a/scripts/Makefile.data b/scripts/Makefile.data new file mode 100644 index 0000000..7929e97 --- /dev/null +++ b/scripts/Makefile.data @@ -0,0 +1,15 @@ +all: pinyins.txt + + +pinyins.txt: + python3 genpinyins.py + + +update-header: + python3 genpinyinheader.py > ../src/storage/pinyin_parser_table.h + python3 gendoublepinyinheader.py > ../src/storage/double_pinyin_table.h + python3 genbopomofoheader.py > ../src/storage/chewing_table.h + python3 genchewingkey.py > ../src/storage/chewing_enum.h + + +.PHONY: pinyins.txt -- cgit