X-Git-Url: https://git.distorted.org.uk/~mdw/hippotat/blobdiff_plain/dd8fb46e1a70de5a3fa53434537025395d31764b..dbf9b0e5479e842dfeb0ad4e552a0570ff4ea342:/debian/rules diff --git a/debian/rules b/debian/rules index d23107c..419c3b7 100755 --- a/debian/rules +++ b/debian/rules @@ -12,6 +12,14 @@ i=debian/hippotat debian/copyright: COPYING AGPLv3+CAFv2 cat $^ >$@.tmp && mv -f $@.tmp $@ +override_dh_python3: + dh_python3 -O--buildsystem=pybuild + dh_installdirs /usr/sbin + mv $i/usr/{bin,sbin}/hippotatd + +override_dh_installinit: + dh_installinit --name=hippotatd + override_dh_compress: find $i/usr/{bin,sbin} -type f | xargs ./subst-sys-path dh_compress