#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

PKGNAME=$(shell grep "^Package: " debian/control | head -1 | cut -f 2 -d\ )
PKG=$(shell pwd)/debian/$(PKGNAME)

build: 
	dh_testdir

clean:
	dh_testdir
	dh_testroot
	dh_clean
	rm -f debian/postinst

binary-arch:

binary-indep:
	dh_testdir
	dh_testroot
	
	dh_installdocs -i
	dh_installchangelogs -i
	dh_compress -i
	dh_fixperms -i
	dh_installdeb -i
	dh_gencontrol -i
	dh_md5sums -i
	dh_builddeb -i

binary: binary-arch binary-indep

.PHONY: build clean binary-indep binary-arch binary

