#!/usr/bin/make -f

UPSTREAM_GIT = git://github.com/kanaka/websockify.git

include /usr/share/openstack-pkg-tools/pkgos.make

%:
	dh $@  --with python2

override_dh_auto_build:
	make rebind.so
	python setup.py build

override_dh_auto_install:
	python setup.py install  -O1 --skip-build --root=$(CURDIR)/debian/tmp --install-layout=deb

override_dh_auto_clean:
	make clean
	python setup.py clean
	rm -rf build/ websockify.egg-info

override_dh_compress:
	dh_compress
