File: rules

package info (click to toggle)
portio 0.5-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 636 kB
  • sloc: ansic: 410; python: 82; sh: 49; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 425 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PYBUILD_NAME=portio
# not all port I/O APIs are available on all architectures, so figure it
# out at build time
export DEB_CPPFLAGS_MAINT_APPEND = -include platform.h

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

override_dh_auto_configure:
	dh_auto_configure
	debian/configure $(CURDIR)

override_dh_auto_clean:
	dh_auto_clean
	rm -f platform.h