#!/usr/bin/make -f

override_dh_autoreconf:
	# skip autoreconf, doesn't work unfortunately

override_dh_auto_configure:
	dh_auto_configure -- --with-statedir=/var/lib/imsp

override_dh_auto_build:
	$(MAKE) -C lib
	$(MAKE)
	# Remove /usr/local/lib rpath
	chrpath -d imsp/cyrus-imspd

override_dh_installchangelogs:
	dh_installchangelogs notes/Changes-Todo

%:
	dh $@
