File: rules

package info (click to toggle)
pytango 9.3.6-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,216 kB
  • sloc: python: 20,649; cpp: 17,075; javascript: 4,836; makefile: 293; sql: 245; sh: 62
file content (21 lines) | stat: -rwxr-xr-x 508 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
#!/usr/bin/make -f

export PYBUILD_NAME=tango

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_clean:
	rm -rf build
	rm -rf *.egg-info
	rm -rf build

execute_after_dh_auto_build-indep:
	dh_auto_build -- -s custom --build-args="PYTHONPATH={build_dir} {interpreter} -m sphinx -N -bhtml doc build/html"

override_dh_auto_test:
	PATH="/usr/lib/tango/:$$PATH" dh_auto_test

execute_after_dh_installdocs-indep:
	dh_installdocs -p python-tango-doc "build/html"
	dh_installdocs -p python-tango-doc "examples"