Files

28 lines
655 B
Makefile
Raw Permalink Normal View History

#!/usr/bin/make -f
#export DH_VERBOSE=1
export PYBUILD_NAME=ifupdown2
2018-12-13 11:43:32 -08:00
export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/ --install-scripts=/usr/share/
%:
dh $@ --with python2 --with systemd --buildsystem=pybuild
override_dh_installman:
2018-12-13 11:43:32 -08:00
./ifupdown2/man/genmanpages.sh ./ifupdown2/man ./man
dh_installman
2019-12-17 01:04:54 +01:00
override_dh_install:
dh_install
mkdir -p debian/ifupdown2/lib/systemd/system/
install --mode=644 debian/ifup@.service debian/ifupdown2/lib/systemd/system/
override_dh_systemd_start:
dh_systemd_start --name=networking --no-start
override_dh_systemd_enable:
dh_systemd_enable --name=networking
override_dh_compress:
dh_compress -X.py