File: Makefile.data

package info (click to toggle)
libpinyin 0.6.91-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 41,840 kB
  • sloc: cpp: 14,520; python: 1,505; makefile: 284; ansic: 166; awk: 6; sh: 6
file content (17 lines) | stat: -rw-r--r-- 475 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
	python3 genchewingkey.py > ../src/storage/chewing_enum.h


.PHONY: pinyins.txt