File: rules

package info (click to toggle)
python-openshift 0.13.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 332 kB
  • sloc: python: 1,824; makefile: 20; sh: 14
file content (18 lines) | stat: -rwxr-xr-x 505 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export PYBUILD_NAME = openshift

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

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml doc/source build/html # HTML generator

override_dh_auto_test:
	dh_auto_test -- --test-nose2

# scripts/ are not provided in the Debian package, please see debian/README.Debian.
override_dh_python3:
	dh_python3
	rm -rf debian/python3-$(PYBUILD_NAME)/usr/lib/python3/dist-packages/scripts