#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

BASEDIR=`pwd`/debian/aspell-pa

override_dh_auto_configure:
	./configure
override_dh_md5sums:
	dh_md5sums -Xvar/lib/aspell

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

%:
	dh $@
