File: rules

package info (click to toggle)
python-geotiepoints 1.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,828 kB
  • sloc: python: 2,720; makefile: 121; sh: 23
file content (25 lines) | stat: -rwxr-xr-x 521 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export USE_CYTHON=TRUE
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export PYBUILD_NAME=geotiepoints
export PYTHONPATH=$(CURDIR)

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

override_dh_auto_build:
	dh_auto_build

override_dh_auto_clean:
	dh_auto_clean
	$(RM) geotiepoints/multilinear*.so
	$(RM) -r python_geotiepoints.egg-info
	$(RM) geotiepoints/multilinear_cython.c

override_dh_python3:
	dh_python3
	dh_numpy3