File: rules

package info (click to toggle)
dfwinreg 20201006-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 78,720 kB
  • sloc: python: 3,444; sh: 135; makefile: 21
file content (24 lines) | stat: -rwxr-xr-x 516 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
23
24
#!/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 $@ --with=python3 --buildsystem=pybuild

override_dh_install:
	dh_install
	mv debian/python3-dfwinreg/usr/share/doc/dfwinreg \
	   debian/python3-dfwinreg/usr/share/doc/python3-dfwinreg
	find ./debian -name "LICENSE" -delete

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

override_dh_missing:
	dh_missing --fail-missing