#!/usr/bin/make -f

#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure AWK=gawk

override_dh_missing:
	dh_missing --fail-missing

override_dh_auto_build-indep:
	make hyph_en_US.dic

override_dh_auto_test:
	# don't run the tests. overriding based on binary-indep being
	# called does not work, so let's it to this way.
	# .libs/libhyphen*.la should be there if the lib is built.
	if [ -f .libs/libhyphen*.la ]; then \
		dh_auto_test; \
	fi

override_dh_auto_install-indep:
	@# nothing to do for the indep case here
