#!/usr/bin/make -f

BASEDIR=`pwd`/debian/aspell-he

%:
	dh $@

override_dh_auto_configure:
	./configure

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