std-init.sh to put the usual initscript boilerplate in one place
[invirt/packages/invirt-base.git] / debian / rules
index 6a0e7d7..2d3f4b5 100755 (executable)
@@ -1,7 +1,12 @@
 #!/usr/bin/make -f
 
+DEB_PYTHON_SYSTEM=pysupport
+
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+binary-fixup/sipb-xen-base::
+       mv $(DEB_DESTDIR)usr/bin/invirt-reload $(DEB_DESTDIR)usr/sbin/invirt-reload
 
-# do we, should we, care between pysupport and pycentral?
-binary-install/sipb-xen-base::
-       dh_pysupport -psipb-xen-base
+clean::
+       rm -rf python/invirt.egg-info