#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

# Install liblxc in out private area, for now, until it's stable.
LIBDIR="\$${prefix}/lib/lxc"
DEB_CONFIGURE_EXTRA_FLAGS=--libdir=$(LIBDIR) \
			  --with-rootfs-path=$(LIBDIR)/root \
			  --enable-doc
DEB_DH_INSTALLINIT_ARGS=--no-restart-on-upgrade

binary-install/lxcguest::
	dh_installinit --no-start --name=console
	dh_installinit --no-start --name=lxcmount
	dh_installinit --no-start --name=lxcguest
