#!/usr/bin/make -f

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- \
		--enable-libzmq \
		--enable-static \
		--with-system-pgm \
		$(shell dpkg-buildflags --export=configure)

override_dh_strip:
	dh_strip -p libxs2 --dbg-package=libxs2-dbg
	dh_strip -a --remaining-packages

override_dh_installchangelogs:
	dh_installchangelogs -XChangeLog
