diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-05-10 05:15:59 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-05-10 05:15:59 +0200 |
commit | e706cbe5496e1829d1ddbe4d5bb0a6728204e510 (patch) | |
tree | c72d1848ac6aef07703848d0ffbe80f1336a81cd /src/make_unicode_fold.sh | |
parent | 69ab3addbc2dbbc90c311b2845cd25a2159435cd (diff) | |
parent | 5e01a4852b31d537307994248869caf38b4023cc (diff) |
new upstream release
Diffstat (limited to 'src/make_unicode_fold.sh')
-rwxr-xr-x | src/make_unicode_fold.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/make_unicode_fold.sh b/src/make_unicode_fold.sh new file mode 100755 index 0000000..ddf1dd4 --- /dev/null +++ b/src/make_unicode_fold.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +TMP=gperf.tmp +GPERF_OPT='-n -C -T -c -t -j1 -L ANSI-C ' + +./make_unicode_fold_data.py > unicode_fold_data.c + +gperf ${GPERF_OPT} -F,-1,0 -N unicode_unfold_key unicode_unfold_key.gperf > ${TMP} +./gperf_unfold_key_conv.py < ${TMP} > unicode_unfold_key.c + +gperf ${GPERF_OPT} -F,-1 -N unicode_fold1_key unicode_fold1_key.gperf > ${TMP} +./gperf_fold_key_conv.py 1 < ${TMP} > unicode_fold1_key.c + +gperf ${GPERF_OPT} -F,-1 -N unicode_fold2_key unicode_fold2_key.gperf > ${TMP} +./gperf_fold_key_conv.py 2 < ${TMP} > unicode_fold2_key.c + +gperf ${GPERF_OPT} -F,-1 -N unicode_fold3_key unicode_fold3_key.gperf > ${TMP} +./gperf_fold_key_conv.py 3 < ${TMP} > unicode_fold3_key.c + +rm -f ${TMP} + +exit 0 |