File: rules

package info (click to toggle)
obfsproxy 0.2.13-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 640 kB
  • sloc: python: 4,568; makefile: 11; sh: 8
file content (15 lines) | stat: -rwxr-xr-x 371 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

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

override_dh_install:
	dh_install -O--buildsystem=pybuild
override_dh_installman:
	a2x --no-xmllint --doctype manpage --format manpage debian/obfsproxy.1.txt
	dh_installman -O--buildsystem=pybuild

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	PYTHONPATH=. trial obfsproxy
endif