File: rules

package info (click to toggle)
ceph-iscsi 3.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 792 kB
  • sloc: python: 9,236; makefile: 23
file content (17 lines) | stat: -rwxr-xr-x 475 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
export deb_systemdsystemunitdir = $(shell pkg-config --variable=systemdsystemunitdir systemd | sed s,^/,,)

export PYBUILD_NAME=python-ceph-iscsi
#export PYBUILD_DISABLE=test
export PYBUILD_TEST_ARGS=--ignore=test/test_group.py test/

%:
	dh $@ --buildsystem=pybuild

override_dh_installinit:
	dh_installinit -pceph-iscsi --name rbd-target-api
	dh_installinit -pceph-iscsi --name rbd-target-gw

override_dh_auto_clean:
	dh_auto_clean
	rm -rf .pytest_cache