File: rules

package info (click to toggle)
igdiscover 0.11-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,064 kB
  • sloc: python: 7,354; sh: 35; makefile: 17
file content (22 lines) | stat: -rwxr-xr-x 563 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export DH_VERBOSE = 1

export PYBUILD_NAME=igdiscover

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


override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/ build/html # HTML generator
	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman  doc/ build/man # Manpage generator

override_dh_install:
	mv $(CURDIR)/debian/python3-igdiscover/usr/bin/* $(CURDIR)/debian/igdiscover/usr/bin/


override_dh_auto_clean:
	dh_auto_clean
	rm -rf .pytest_cache debian/python3-igdiscover