File: rules

package info (click to toggle)
mininet 2.2.1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,184 kB
  • ctags: 1,326
  • sloc: python: 10,724; ansic: 1,332; sh: 861; makefile: 79
file content (20 lines) | stat: -rwxr-xr-x 365 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# export DH_VERBOSE = 1

CFLAGS+=$(shell dpkg-buildflags --get CPPFLAGS)
export PYBUILD_NAME=mininet

%:
	dh $@ --buildsystem=pybuild --with=python2

override_dh_auto_build:
	make man
	make mnexec
	# hopefully temporary, since make man/mnexec
	# generate *.pyc files
	rm -f examples/*.pyc
	dh_auto_build

override_dh_clean:
	make clean
	dh_clean