#--*- Makefile -*--

.PHONY: aspell spell

aspell:
	for i in ${TEX_FILES} ${LTX_FILES}; do \
		aspell -t -x -p ./words.lst -l lt_LT check $$i; \
	done

spell:
	for i in ${TEX_FILES} ${LTX_FILES}; do \
		echo "===" $$i; \
		aspell -t -p ./words.lst -l lt_LT list < $$i | sort -u; \
	done
