summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.data
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile.data')
-rw-r--r--scripts/Makefile.data4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/Makefile.data b/scripts/Makefile.data
index 9a2be87..7b4fe0e 100644
--- a/scripts/Makefile.data
+++ b/scripts/Makefile.data
@@ -7,4 +7,8 @@ pinyins.txt:
awk -f genpinyins.awk -vlen=2 ../data/gb_char.table >> $@
+update-header:
+ python3 genpinyinheader.py > ../src/storage/pinyin_parser_table.h
+
+
.PHONY: pinyins.txt