mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
This is a major update coming all at once from master-next branch master-next branch was started with --orphan option which is basically a new branch without history. The major changes are: - repackaging - cleanup the directory tree - rewritte setup.py to allow install from deb file or pypi (pip install) - add a Makefile to make things (like building a deb) easier - review all debian files Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
22 lines
495 B
Makefile
Executable File
22 lines
495 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
#export DH_VERBOSE=1
|
|
export PYBUILD_NAME=ifupdown2
|
|
export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/ --install-scripts=/usr/share/
|
|
|
|
%:
|
|
dh $@ --with python2 --with systemd --buildsystem=pybuild
|
|
|
|
override_dh_installman:
|
|
./ifupdown2/man/genmanpages.sh ./ifupdown2/man ./man
|
|
dh_installman
|
|
|
|
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
|