#!/usr/bin/make -f
export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed

%:
	dh $@ --with quilt --with autoreconf

override_dh_auto_configure:
	find . -name *_vala.stamp | xargs rm -f
	dh_auto_configure -- --enable-libgsm0710mux --enable-ppp-support \
	--disable-modem-qualcomm-palm --disable-modem-nokia-isi \
	--enable-vala

override_dh_strip:
	dh_strip --dbg-package=fso-gsmd-dbg

override_dh_installdocs:
	dh_installdocs --link-doc=fso-gsmd

override_dh_autoreconf:
	dh_autoreconf --as-needed
