#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DOCDIR=debian/mpc/usr/share/doc/mpc

%:
	dh $@ --with bash-completion

override_dh_auto_configure:
	dh_auto_configure -- -Dtest=true

override_dh_installchangelogs:
	dh_installchangelogs NEWS
	rm -rfv ${DOCDIR}/contrib ${DOCDIR}/html ${DOCDIR}/COPYING ${DOCDIR}/NEWS ${DOCDIR}/README.rst
