1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
#!/usr/bin/make -f
export DH_VERBOSE=1
include /usr/share/dpkg/default.mk
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_build:
pybuild --configure
pybuild --build
override_dh_auto_install:
pybuild --install
override_dh_auto_clean:
rm -rf .pybuild/
rm -rf build/
rm -rf *.egg-info/
override_dh_installman:
dh_installman targetcli.8
dh_installman targetclid.8
override_dh_installdocs:
dh_installdocs README.md
dh_installdocs THANKS
dh_installdocs COPYING
override_dh_installsystemd:
dh_installsystemd \
--no-stop-on-upgrade --no-enable --no-start \
targetclid.service
|