#!/usr/bin/make -f
# debian/rules for osso-systemuidbus--dev using debhelper.
# Copyright (C) 2004-2006 Nokia.  All rights reserved.

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

# This has to be exported to make some magic below work.
export DH_OPTIONS

package = osso-systemui-dbus-dev
pkgdir = $(CURDIR)/debian/tmp

pcfileversion=`grep -m1 '^Version' osso-systemui-dbus.pc | sed -e 's/Version: *//'`
changelogversion=`grep -m1 'osso-systemui-dbus-dev (' debian/changelog | sed -e 's/osso-systemui-dbus-dev (//;s/[)-].*//'`

.PHONY: clean
clean:
	dh_testdir
	dh_testroot

	# Add here commands to clean up after the build process.
	-$(MAKE) distclean

	dh_clean 


.PHONY: build
build: 

.PHONY: install
install:
	$(MAKE) install DESTDIR="$(pkgdir)"

.PHONY: binary-indep
binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installdocs
	dh_installchangelogs
	dh_install -i
	dh_link
	dh_compress 
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

.PHONY: binary-arch
binary-arch: build install
# nothing to see here, move along

.PHONY: binary
binary: binary-indep binary-arch
