File: rules

package info (click to toggle)
lazr.delegates 2.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 480 kB
  • sloc: python: 377; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 471 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export PYBUILD_NAME=lazr.delegates
export PYBUILD_TEST_NOSE=1
#export DH_VERBOSE=1

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

override_dh_install:
	dh_install
	rm -f debian/python3-lazr.delegates/usr/lib/python3.*/dist-packages/lazr/delegates/_python2.py

override_dh_installdocs:
	python3 setup.py build_sphinx
	dh_installdocs

override_dh_sphinxdoc:
	dh_sphinxdoc
	find debian/python-lazr.delegates-doc -name .pybuild | xargs rm -rf