#!/usr/bin/make -f

override_dh_auto_install:
	$(MAKE) install prefix=$(CURDIR)/debian/6tunnel/usr

override_dh_auto_configure:
	[ -f Makefile ] || sh ./autogen.sh
	dh_auto_configure

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

binary: binary-arch

%:
	dh $@

.PHONY: binary-arch binary

# End of file
