File: rules

package info (click to toggle)
mirtop 0.4.23-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,444 kB
  • sloc: python: 6,116; sh: 47; makefile: 24
file content (21 lines) | stat: -rwxr-xr-x 435 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
#!/usr/bin/make -f

export DH_VERBOSE = 1
export PYBUILD_NAME=mirtop

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	# No tests, yet
	@echo "Not testing."
endif

override_dh_install:
	dh_install
	rm debian/python3-mirtop/usr/bin/mirtop

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. python3 -m sphinx -N -bman docs/ build/man # Manpage generator