#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

%:
	dh $@ --without autoreconf --no-parallel

override_dh_auto_test:
# Don't run the test suite, too many tests are flaky at the moment

override_dh_auto_install:
	dh_auto_install --destdir=$(CURDIR)/debian/tmp
#  remove automake's versions
	rm -f $(CURDIR)/debian/tmp/usr/share/automake-1.19/config.sub
	rm -f \
		$(CURDIR)/debian/tmp/usr/share/automake-1.19/config.guess

override_dh_auto_clean:
	[ -f Makefile ] && dh_auto_clean || true
