#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

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

# Udebs have no postrm file, don't make one
export DH_OPTIONS=-n

build:
	dh_testdir

clean:
	dh_testdir
	dh_testroot
	rm -f debian/files~
	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_clean -k

# Build architecture-independent files here.
binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installdebconf
	dh_installdeb 
	dh_gencontrol
	dh_builddeb

# (The package implementation is platform independant, but will only work
#  on platforms with arcboot available.  Thus it is built in target
#  'binary-indep', and target 'binary-arch' is just an alias.)
binary-arch: build install binary-indep

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