#!/usr/bin/make -f

include debian/debian-autotools.mk
include debian/debian-save-restore.mk

# In original sources
FILE_LIST_PRESERVE = \
 config.guess \
 config.sub \
 autom4te.cache/output.0 \
 autom4te.cache/requests \
 autom4te.cache/traces.0

override_dh_clean:
	$(file-state-save)
	dh_clean
	$(file-state-restore)

override_dh_auto_configure:
	$(config-prepare)
	dh_auto_configure
	$(config-restore)

binary-arch: build install
	dh_testdir
	dh_testroot
	dh_installdocs README CONTACT
	dh_installchangelogs CHANGES
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

%:
	dh $@

binary: binary-arch

.PHONY: binary binary-arch

# end of file
