File: rules

package info (click to toggle)
python-qemu-qmp 0.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 564 kB
  • sloc: python: 2,819; makefile: 157; sh: 2
file content (17 lines) | stat: -rwxr-xr-x 381 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

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

execute_after_dh_auto_build:
ifeq (,$(filter nodoc, ${DEB_BUILD_OPTIONS}))
	${MAKE} -C docs SPHINXOPTS="--keep-going" man
endif

override_dh_auto_test:
	PYTHONPATH=${CURDIR} \
	    pytest -v tests/*.py

# for now, do not ship qmp-tui
execute_after_dh_auto_install:
	rm -f debian/python3-qemu-qmu/usr/bin/qmp-tui