#!/usr/bin/make -f

build-arch: build
build-indep: build

build: build-stamp
build-stamp:
	dh_testdir
	touch build-stamp

clean:
	dh_testdir
	dh_testroot
	dh_clean build-stamp config.tmp config2.tmp 

install: build-stamp
	dh_testdir
	dh_testroot
	dh_prep
	dh_installdirs 
	dh_install 
	find debian -type f -name ".perltidyrc" -exec rm {} \;

# Build architecture-dependent files here.
binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installchangelogs CHANGES.txt
	dh_installdocs README.txt TODO.txt
	dh_installman man/man1/autopsy.1
	dh_link
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch
.PHONY: binary clean binary-indep binary-arch build install \
	clean1
