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


pinyins.txt:
	awk -f genpinyins.awk -vlen=1 ../data/gb_char.table \
	../data/gbk_char.table > $@
	awk -f genpinyins.awk -vlen=2 ../data/gb_char.table >> $@


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


.PHONY: pinyins.txt