#!/usr/bin/make -f

pkg = $(shell dh_listpackages)

build:

clean:
	dh_testdir
	dh_testroot
	dh_clean

binary: binary-indep binary-arch
binary-arch:
binary-indep:
	dh_testdir
	dh_testroot
	dh_testversion 7
	dh_prep
	dh_install
	dh_installchangelogs
	dh_installdocs
	dh_desktop
	-dh_dhelp
	dh_scrollkeeper
# Check not warning about deprecated commands in optional portions, but
# commands that have been toast for a long time are still warned about.
ifneq "$(LENNY_BACKPORT)" "y"
	-dh_help
	dh_scrollkeeper
	dh_testversion 7
endif
	dh_link
	dh_compress
	dh_fixperms
	dh_suidregister
	dh_undocumented
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

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