aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2024-08-22Add fish shell completionEmery Hemingway1-0/+5
2024-01-12added support for Zsh autocompletionsRobin Haberkorn1-2/+10
* actually autocompletions are much more powerful than on Bash
2024-01-12support FreeBSDRobin Haberkorn1-1/+1
* Instead of relying on `man -`, we call Groff directly. * Naturally, we must depend on Groff as well. * man-db is not available on FreeBSD
2021-04-20Makefile: add phony targetsZane van Iperen1-0/+2
2021-04-20Makefile: don't rm the downloaded zip on cleanZane van Iperen1-1/+1
As it's in git.
2021-04-19Makefile: update database urlZane van Iperen1-1/+1
2021-04-19Makefile: don't rely on the shebang of mysql2sqliteZane van Iperen1-1/+1
On NixOS, /usr/bin/awk doesn't exist.
2019-05-17automatically update the mandb on `make install`Robin Haberkorn1-0/+1
2019-04-19added a manpage and finalized READMERobin Haberkorn1-2/+6
2019-04-19make check: test page generation for all words; various fixesRobin Haberkorn1-0/+8
* using the new `make check` target various bugs have been discovered. All of them were related to missing database fields.
2019-04-18major changes (unfortunately not done systematically)Robin Haberkorn1-6/+10
* keep the openrussian-sql.zip to avoid bitrot (sudden breakage when building the project against a recent DB) * allow lookups against inflections. A special table `bare_inflections` was added to the DB in order to speed this up. * authentic autocompletions taking every parameter into account, using a magic `-C` parameter * language selection via locale or -L<lang> * translation lookup * allow multiple search terms on the command line without escaping * all SQL strings are properly escaped now to avoid (accidental) code insertion * luautf8 is mandatory now and used much more, which is safer than handling Unicode strings with the builtin functions * ignore "disable" database entries * added option -V (verbatim) * more protections against empty fields * print "DERIVED FROM", "AUDIO", "USAGE" and various word relation sections * print word ranking and level (A1-C2...)
2019-03-15added Makefile and simple Bash completionsRobin Haberkorn1-0/+36
* this allows precompiling openrussian.lua, automatically downloads, converts and VACUUMs the openrussian database and provides an `install` target * Bash completions allow completing "bare" Russian words for the time being. Unfortunately we cannot complete with accents, since Bash completions do not allow to change the already typed word (apparently) and users aren't going to type in accents.