File: rules

package info (click to toggle)
dfwinreg 20240316-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 78,752 kB
  • sloc: python: 3,705; sh: 22; makefile: 17
file content (19 lines) | stat: -rwxr-xr-x 453 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

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

export LC_ALL=C.UTF-8
export PYBUILD_NAME:=dfwinreg

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

override_dh_sphinxdoc:
	PYTHONPATH=src python3 -m sphinx -b html $(SPHINXOPTS) docs $(CURDIR)/debian/python3-dfwinreg/usr/share/doc/python3-dfwinreg/html
	dh_sphinxdoc

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	python3 run_tests.py
endif