File: rules

package info (click to toggle)
sorted-nearest 0.0.39%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 324 kB
  • sloc: python: 215; sh: 20; makefile: 8
file content (15 lines) | stat: -rwxr-xr-x 375 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8

include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

# Remove Cython source and artifacts off the binary package.
export PYBUILD_AFTER_INSTALL=find '{destdir}/{install_dir}/' \
		\( -name '*.c' -or -name '*.pyx' \) \
		-printf 'remove %h/%f\n' -delete

%:
	dh $@ --buildsystem=pybuild