File: rules

package info (click to toggle)
targetcli-fb 1%3A2.1.53-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 368 kB
  • sloc: python: 2,883; makefile: 70; sh: 21
file content (34 lines) | stat: -rwxr-xr-x 609 bytes parent folder | download | duplicates (3)
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
28
29
30
31
32
33
34
#!/usr/bin/make -f

export DH_VERBOSE=1

include /usr/share/dpkg/default.mk

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

override_dh_auto_build:
	pybuild --configure
	pybuild --build

override_dh_auto_install:
	pybuild --install

override_dh_auto_clean:
	rm -rf .pybuild/
	rm -rf build/
	rm -rf *.egg-info/

override_dh_installman:
	dh_installman targetcli.8
	dh_installman targetclid.8

override_dh_installdocs:
	dh_installdocs README.md
	dh_installdocs THANKS
	dh_installdocs COPYING

override_dh_installsystemd:
	dh_installsystemd \
		--no-stop-on-upgrade --no-enable --no-start \
		targetclid.service