#!/usr/bin/make -f

BASEDIR=`pwd`/debian/aspell-ku

%:
	dh $@

override_dh_auto_configure:
	./configure

override_dh_auto_install:
	$(MAKE) DESTDIR=$(BASEDIR) install
	rm -f $(BASEDIR)/usr/lib/aspell/ku.rws
	gzip -9cn ku.cwl > $(BASEDIR)/usr/share/aspell/ku.cwl.gz
	installdeb-aspell
