diff options
| author | Peng Wu <alexepico@gmail.com> | 2013-07-22 11:37:11 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2013-07-22 11:37:11 +0800 |
| commit | b78429d78df745dd327b6dada6b9bd71ea5df84e (patch) | |
| tree | 82c4625db8674c66d69fd566fce8efc347e3cb3a /scripts/Makefile.data | |
| download | libzhuyin-b78429d78df745dd327b6dada6b9bd71ea5df84e.tar.gz libzhuyin-b78429d78df745dd327b6dada6b9bd71ea5df84e.tar.xz libzhuyin-b78429d78df745dd327b6dada6b9bd71ea5df84e.zip | |
import libpinyin code
Diffstat (limited to 'scripts/Makefile.data')
| -rw-r--r-- | scripts/Makefile.data | 15 |
1 files changed, 15 insertions, 0 deletions
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 |
