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
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export PYBUILD_NAME=2ping
export PYBUILD_TEST_PYTEST=1
%:
dh $@ --with=python3,bash_completion --buildsystem=pybuild
override_dh_auto_install:
dh_auto_install
install -d -m 0755 $(CURDIR)/debian/2ping/usr/share/man/man1
install -m 0644 doc/2ping.1 $(CURDIR)/debian/2ping/usr/share/man/man1
ln -sf 2ping.1 $(CURDIR)/debian/2ping/usr/share/man/man1/2ping6.1
install -d -m 0755 $(CURDIR)/debian/2ping/lib/systemd/system
install -m 0644 2ping.service $(CURDIR)/debian/2ping/lib/systemd/system/2ping.service
override_dh_auto_clean:
dh_auto_clean
$(RM) -r .pytest_cache
override_dh_installsystemd:
dh_installsystemd --no-enable --no-start
|