File: rules

package info (click to toggle)
pyxdameraulevenshtein 1.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 348 kB
  • sloc: python: 112; sh: 7; makefile: 6
file content (13 lines) | stat: -rwxr-xr-x 303 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem=pybuild

execute_before_dh_auto_build:
	# regenerate the C file from the Cython script
	cd pyxdameraulevenshtein && cython3 pyxdameraulevenshtein.pyx

# Cannot run tests pre-installation
override_dh_auto_test: