#!/usr/bin/make -f
+%:
+ dh $@ --with python2
-DEB_PYTHON_SYSTEM=pysupport
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
-
-binary-fixup/invirt-vnc-server::
- mv $(DEB_DESTDIR)usr/bin/invirt-vnc-server $(DEB_DESTDIR)usr/sbin/invirt-vnc-server
-
-clean::
- rm -rf invirt.vnc.egg-info
+override_dh_install:
+ dh_install
+ mv debian/invirt-vnc-server/usr/bin/invirt-vnc-server debian/invirt-vnc-server/usr/sbin/invirt-vnc-server