File: rules

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

export PYBUILD_NAME = openshift

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

execute_after_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.
execute_after_dh_python3:
	rm -rf debian/python3-$(PYBUILD_NAME)/usr/lib/python3/dist-packages/scripts