File: rules

package info (click to toggle)
sshtunnel 0.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 328 kB
  • sloc: python: 2,329; makefile: 193
file content (19 lines) | stat: -rwxr-xr-x 498 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export PYBUILD_NAME=sshtunnel

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

override_dh_auto_test:
	# wants to write to /usr/lib

override_dh_installman:
	mkdir -p debian/python3-sshtunnel/usr/share/man/man1/
	PYTHONPATH=. help2man --version-string $(DEB_VERSION_UPSTREAM) \
		--no-info \
		--name "SSH tunnels to remote server" \
		debian/python3-sshtunnel/usr/bin/sshtunnel > \
		debian/python3-sshtunnel/usr/share/man/man1/sshtunnel.1