Commit b3a0d73d authored by Xavier Guimard's avatar Xavier Guimard

Add spelling errors detection targets

parent 97078925
......@@ -1115,3 +1115,16 @@ install_%_doc_site:
rm -rvf $(DOCLIBSTOREMOVEFORDEBIAN); \
fi && cd -
html_spelling:
@for i in $$(find doc/ -type f -name '*.html'); do \
text=$$(html2text $$i|spellintian --picky); \
if [ "$$text" != "" ]; then echo "### $$i ###"; echo $$text; fi \
done
spelling:
@for i in $$(find * -type f -name '*.pm'); do \
if grep '=head1' $$i >/dev/null; then \
text=$$(pod2text $$i|spellintian --picky); \
if [ "$$text" != "" ]; then echo "### $$i ###"; echo $$text; fi \
fi \
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment