summaryrefslogtreecommitdiffstats
path: root/scripts2/Makefile.data
blob: edae4d1beb8b130b89a9e0a0ecf24da8b3a08a51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
all: pinyins.txt


pinyins.txt:
	python3 tools/distill.py


update-header: pinyins.txt
	python3 generateheader.py templates/pinyin_parser_table.h.in > ../src/storage/pinyin_parser_table.h
	python3 generateheader.py templates/double_pinyin_table.h.in > ../src/storage/double_pinyin_table.h
	python3 generateheader.py templates/zhuyin_table.h.in > ../src/storage/zhuyin_table.h
	python3 generateheader.py templates/chewing_enum.h.in > ../src/storage/chewing_enum.h


.PHONY: pinyins.txt