File: rules

package info (click to toggle)
lazr.delegates 2.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208 kB
  • sloc: python: 182; makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 423 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=lazr.delegates
export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS=--doctest-glob '*.rst' docs tests
#export DH_VERBOSE=1

PY3DEFAULT := $(shell py3versions -d)

%:
	dh $@ --buildsystem=pybuild

override_dh_installdocs:
	PYTHONPATH=debian/python3-lazr.delegates/usr/lib/$(PY3DEFAULT)/dist-packages \
		sphinx-build -b html src/lazr/delegates/docs build/sphinx/html
	dh_installdocs