File: rules

package info (click to toggle)
python-stomp 8.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 640 kB
  • sloc: python: 3,849; makefile: 233; xml: 42; sh: 1
file content (18 lines) | stat: -rwxr-xr-x 400 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=stomp
# tests need a custom Docker, see README.source
export PYBUILD_DISABLE=test

%:
	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 docs/source build/html

override_dh_auto_clean:
	dh_auto_clean
	$(RM) -f .pybuild
	find . -name "*.pyc" -delete