#!/usr/bin/make -f

# Don't make clean && make while debuilding!
clean:
	true

build:
	$(MAKE) test

install: 
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs
	$(MAKE) install DESTDIR=$(CURDIR)/debian/$(shell dh_listpackages)

binary: install
	dh_testdir
	dh_testroot
	dh_installcron
	dh_installchangelogs 
	dh_installdocs
	dh_installexamples
	dh_installman
	dh_link
	dh_compress
	dh_fixperms
	dh_perl
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

.PHONY: install binary
