File: rules

package info (click to toggle)
ifupdown2 1.2.5-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 1,780 kB
  • sloc: python: 21,928; sh: 476; makefile: 213
file content (24 lines) | stat: -rwxr-xr-x 566 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/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_installinit:
	dh_installinit --name=networking --no-start

override_dh_compress:
	dh_compress -X.py