| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export PYTHON=python3 |
| 4 |
export CYTHONEXEC=cython3 |
| 5 |
|
| 6 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 7 |
|
| 8 |
override_dh_auto_configure: |
| 9 |
dh_auto_configure -- --disable-runtime-deps-check --with-dhcp-config=/etc/dhcp/dhcpd.conf --with-systemdsystemunitdir=/usr/lib/systemd/system |
| 10 |
|
| 11 |
override_dh_auto_install: |
| 12 |
dh_auto_install |
| 13 |
rm debian/blueman/usr/share/doc/blueman/COPYING |
| 14 |
rm debian/blueman/usr/lib/python*/site-packages/_blueman.la |
| 15 |
rm debian/blueman/usr/lib/python*/site-packages/_blueman.a |
| 16 |
|
| 17 |
override_dh_python3: |
| 18 |
dh_python3 --shebang=/usr/bin/python3 |
| 19 |
dh_python3 --shebang=/usr/bin/python3 /usr/libexec |
| 20 |
|
| 21 |
%: |
| 22 |
dh $@ --with python3 |