File: rules

package info (click to toggle)
mirtop 0.4.30-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,828 kB
  • sloc: python: 6,649; sh: 47; makefile: 22
file content (19 lines) | stat: -rwxr-xr-x 410 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DH_VERBOSE = 1
export PYBUILD_NAME=mirtop

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

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

execute_after_dh_install:
	rm debian/python3-mirtop/usr/bin/mirtop

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