Simple utility to turn swipes into words -- "plugin" for wvkbd to enable swipe-typing under wayland SXMO.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -7,9 +7,11 @@ mapScore: mapScore.c $(CC) mapScore.c -o mapScore docs: swipeGuess.1 mapScore.1 swipeGuess.1: swipeGuess.1.scd - scdoc < swipeGuess.1.scd > swipeGuess.1 + scdoc < swipeGuess.1.scd > $@.tmp + mv $@.tmp $@ mapScore.1: mapScore.1.scd - scdoc < mapScore.1.scd > mapScore.1 + scdoc < mapScore.1.scd > $@.tmp + mv $@.tmp $@ words-qwerty-en: /usr/share/dict/american-english mapScore grep .. /usr/share/dict/american-english | ./mapScore map.qwerty.noapos.tsv bee | sort -nr | cut -f2 > words-qwerty-en @@ -17,8 +19,8 @@ words-qwerty-en: /usr/share/dict/american-english mapScore apk add words-en test: words-qwerty-en swipeGuess - test `echo "asdfghjkl" | ./swipeGuess words-qwerty-en` = "all" - test `echo "dfghuiokmnhyt" | ./swipeGuess words-qwerty-en 1 "'"` = "don't" + test "`echo "asdfghjkl" | ./swipeGuess words-qwerty-en`" = "all" + test "`echo "dfghuiokmnhyt" | ./swipeGuess words-qwerty-en 1 "'"`" = "don't" test "`echo "tyuiopoiuytrewertyuiuytrer" | ./swipeGuess words-qwerty-en 2`" = "`printf "typewriter\ttorturer"`" install: all |