#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
BASEDIR=`pwd`/debian/aspell-kn

override_dh_auto_configure:
	./configure

override_dh_install:
	gzip -9c kn.cwl > $(BASEDIR)/usr/share/aspell/kn.cwl.gz
	touch $(BASEDIR)/var/lib/aspell/kn.compat
	touch $(BASEDIR)/var/lib/aspell/kn.rws
	dh_installdirs
	installdeb-aspell
	dh_install
%:
	dh $@
