File: rules

package info (click to toggle)
python-regex 0.1.20241106-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,648 kB
  • sloc: ansic: 49,917; python: 8,677; makefile: 15; sh: 7
file content (28 lines) | stat: -rwxr-xr-x 654 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
25
26
27
28
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

include /usr/share/dpkg/default.mk

include /usr/share/debhelper/dh_package_notes/package-notes.mk

export PYBUILD_TEST_CUSTOM=1
export PYBUILD_TEST_ARGS=\
	env PYTHONPATH='${CURDIR}/debian/tests/python' \
	python{version} -B -u -m temptest \
	--srcdir '${CURDIR}' \
	--pypath . \


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

execute_after_dh_auto_build:
	rst2html README.rst > docs/Features.html

override_dh_installdocs:
	dh_installdocs -A README.rst docs/UnicodeProperties.rst docs/Features.html