#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh ${@}

override_dh_autoreconf:
	dh_autoreconf ./autogen.sh

override_dh_auto_configure:
	dh_auto_configure -- --prefix=/usr --sysconfdir=/etc --enable-test=yes

execute_after_dh_auto_install:
	# remove unused files
	rm -f debian/tmp/usr/lib/*/*.la
