File: rules

package info (click to toggle)
pydbus 0.6.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,320 kB
  • sloc: python: 1,023; sh: 25; makefile: 23
file content (24 lines) | stat: -rwxr-xr-x 490 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export PYBUILD_NAME=pydbus

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


override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
	PYBUILD_TEST_ARGS="debian/tests/run_tests.sh {interpreter}" \
	dh_auto_test

override_dh_installdocs:
	rst2html --report="error" README.rst README.html
	rst2html doc/tutorial.rst doc/tutorial.html
	dh_installdocs

override_dh_auto_clean:
	dh_auto_clean
	rm -rf pydbus.egg-info
	rm -f README.html
	rm -f doc/tutorial.html