File: rules

package info (click to toggle)
pykdtree 1.3.6%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 180 kB
  • sloc: python: 380; sh: 27; makefile: 25
file content (27 lines) | stat: -rwxr-xr-x 578 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f
# -*- makefile -*-

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

# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export PYBUILD_NAME=pykdtree

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

override_dh_auto_configure:
	dh_auto_configure
	cython3 pykdtree/kdtree.pyx
	cd pykdtree && python3 render_template.py

override_dh_python3:
	dh_python3 -ppython3-pykdtree
	dh_numpy3 -ppython3-pykdtree

override_dh_auto_clean:
	dh_auto_clean
	$(RM) -r pykdtree.egg-info
	$(RM) pykdtree/kdtree.c pykdtree/_kdtree_core.c