aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
blob: 8c9b7e3ba45ca534170d26df2c2240c7448dfe7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export PYBUILD_NAME=paramiko

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

override_dh_installdocs:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
	sphinx-build sites/docs html
endif
	dh_installdocs

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	set -e ; for python in $$(pyversions -s) $$(py3versions -s); do \
		$$python test.py --verbose ; \
	done
endif