]> git.proxmox.com Git - mirror_ifupdown2.git/blob - debian/rules
a5d10382f9d54bf3d466edbdf4554f54d84babea
[mirror_ifupdown2.git] / debian / rules
1 #!/usr/bin/make -f
2
3 #export DH_VERBOSE=1
4 export PYBUILD_NAME=ifupdown2
5 export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/ifupdown2 --install-scripts=/usr/share/ifupdown2
6
7 %:
8 dh $@ --with python2 --with systemd --buildsystem=pybuild
9
10 override_dh_installman:
11 ./scripts/genmanpages.sh ./man.rst ./man
12 dh_installman
13
14 override_dh_systemd_start:
15 dh_systemd_start --name=networking --no-start
16
17 override_dh_systemd_enable:
18 dh_systemd_enable --name=networking
19
20 # init.d/networking is installed, but we don't want any symlinks; it's
21 # never used by anything, so avoid the confusion of the symlinks.
22 override_dh_installinit:
23 dh_installinit --name=networking --no-start -uremove networking.init