#!/usr/bin/make -f
# -*- makefile -*-
# 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

build: build-stamp

build-stamp:
	dh_testdir
	touch build-stamp

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp 
	debconf-updatepo
	
	dh_clean 

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 

# we don't really have to install anything, everything is
# done by the debhelper scripts.


# Build architecture-independent files here.
binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installdirs
	dh_installchangelogs 
	dh_installdocs
	dh_installman
	dh_installdebconf
	dh_installinit
	dh_installexamples
	dh_install -XCVS -X.svn
	dh_compress
	dh_fixperms
	cp debian/localization-config-udeb.isinstallable debian/localization-config-udeb/DEBIAN/isinstallable
	chmod a+rx debian/localization-config-udeb/usr/bin/localization-config \
		debian/localization-config-udeb/usr/lib/post-base-installer.d/08localization-config \
		debian/localization-config-udeb/usr/lib/finish-install.d/08localization-config
#	dh_perl
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

# Build architecture-dependent files here.
binary-arch: build install
# We have nothing to do by default.

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