#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --with-pic \
	   $(shell DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildflags --export=configure)

override_dh_install:
	dh_install --fail-missing -X.la

override_dh_auto_test:
	find tests -name \*.sh -exec chmod +x {} \;
	dh_auto_test

override_dh_auto_test-hppa:

override_dh_auto_test-mips:

override_dh_auto_test-mipsel:

override_dh_auto_test-powerpc:

override_dh_auto_test-ppc64el:
