#! /bin/bash -e

# Run this to check all appropriate source files with ispell, using (and
# adding to) the local development dictionary.

D=$( dirname $0 )
ispell -x -p $D/dict \
  $D/../../tex/*.{tex,bib} \
  $D/../../doc/* \
  $D/../../debian/{changelog,control,copyright} \
  $D/../../debian/helper/RelSteps \
  $( find $D/../.. -name TODO ) \
  $( find $D/../.. -name README )

