forked from AFPy/python-docs-fr
Check that hunspell is installed (#144)
The check doesn't verify the hunspell dictionary kind. Co-authored-by: Pierre-Louis Bonicoli <pierre-louis.bonicoli@ir5.eu> Reviewed-on: AFPy/python-docs-fr#144 Co-authored-by: pilou <pierre-louis.bonicoli@libregerbil.fr> Co-committed-by: pilou <pierre-louis.bonicoli@libregerbil.fr>
This commit is contained in:
parent
f770a90e58
commit
58cd92ed64
6
Makefile
6
Makefile
|
@ -110,6 +110,12 @@ venv/cpython/.git/HEAD:
|
|||
|
||||
.PHONY: ensure_test_prerequisites
|
||||
ensure_test_prerequisites:
|
||||
@if ! (hunspell -v >/dev/null 2>&1); then \
|
||||
echo "You're missing dependencies please install: hunspell and the fr-toutesvariantes dictionary."; \
|
||||
echo "The dictionary is available here http://grammalecte.net:8080/dir?ci=tip&name=gc_lang/fr/oxt/Dictionnaires/dictionaries"; \
|
||||
echo "and also included in the hunspell-fr-comprehensive Debian package."; \
|
||||
exit 1; \
|
||||
fi
|
||||
@if ! (pospell --help >/dev/null 2>&1 && potodo --help >/dev/null 2>&1); then \
|
||||
echo "You're missing dependencies please install:"; \
|
||||
echo ""; \
|
||||
|
|
Loading…
Reference in New Issue
Block a user