| 1 |
|
| 2 |
|
| 3 |
export PYBUILD_NAME=rpi.gpio |
| 4 |
|
| 5 |
|
| 6 |
export PYBUILD_DISABLE=test |
| 7 |
|
| 8 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 9 |
|
| 10 |
DEB_CFLAGS_MAINT_APPEND += $(shell getconf LFS_CFLAGS) -fcommon |
| 11 |
DEB_LDFLAGS_MAINT_APPEND += $(shell getconf LFS_LDFLAGS) |
| 12 |
DEB_LDFLAGS_MAINT_APPEND += -Wl,--as-needed |
| 13 |
export DEB_CFLAGS_MAINT_APPEND DEB_LDFLAGS_MAINT_APPEND |
| 14 |
|
| 15 |
include /usr/share/dpkg/default.mk |
| 16 |
|
| 17 |
%: |
| 18 |
dh $@ --with python3 --buildsystem=pybuild |
| 19 |
|
| 20 |
override_dh_installdocs: |
| 21 |
dh_installdocs --link-doc=rpi.gpio-common |