File: rules

package info (click to toggle)
python-xrt 1.6.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 17,572 kB
  • sloc: python: 59,424; xml: 4,786; lisp: 4,082; sh: 22; javascript: 18; makefile: 17
file content (27 lines) | stat: -rwxr-xr-x 637 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f

# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PYBUILD_NAME=xrt

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

override_dh_auto_build:
	cp xrt/gui/xrtQookStart.pyw xrt/gui/xrtQookStart
	dh_auto_build

override_dh_auto_test:
	true

override_dh_auto_clean:
	dh_auto_clean
	$(RM) xrt/gui/xrtQookStart
	find . -name "*.pyc" -delete

override_dh_auto_install:
	dh_auto_install
	dh_install -ppython3-xrt examples/ /usr/lib/python3/dist-packages/xrt/
	dh_install -ppython3-xrt debian/xray_tracer.desktop ./usr/share/applications/
	find debian -name xrtQookStart.pyw -delete