#!/usr/bin/make -f

LDFLAGS += -Wl,-z,defs -Wl,--as-needed

export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

%:
	dh $@ --with autoreconf

override_dh_autoreconf:
	NOCONFIGURE=1 dh_autoreconf ./autogen.sh

override_dh_install:
	find debian/tmp -name \*.la -delete
	find debian/tmp -name \*.a -delete
	dh_install --fail-missing

