]> git.proxmox.com Git - mirror_ifupdown2.git/blobdiff - debian/rules
debian: install sysvinit script (Fixes: #26)
[mirror_ifupdown2.git] / debian / rules
index a5d10382f9d54bf3d466edbdf4554f54d84babea..363560029d4892b91126c1e137f3542e66fe91f6 100755 (executable)
@@ -2,13 +2,13 @@
 
 #export DH_VERBOSE=1
 export PYBUILD_NAME=ifupdown2
-export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/ifupdown2 --install-scripts=/usr/share/ifupdown2
+export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/ --install-scripts=/usr/share/
 
 %:
        dh $@ --with python2 --with systemd --buildsystem=pybuild
 
 override_dh_installman:
-       ./scripts/genmanpages.sh ./man.rst ./man
+       ./ifupdown2/man/genmanpages.sh ./ifupdown2/man ./man
        dh_installman
 
 override_dh_systemd_start:
@@ -17,7 +17,8 @@ override_dh_systemd_start:
 override_dh_systemd_enable:
        dh_systemd_enable --name=networking
 
-# init.d/networking is installed, but we don't want any symlinks; it's
-# never used by anything, so avoid the confusion of the symlinks.
 override_dh_installinit:
-       dh_installinit --name=networking --no-start -uremove networking.init
+       dh_installinit --name=networking --no-start
+
+override_dh_compress:
+       dh_compress -X.py