| # Uncomment this to turn on verbose mode. |
| export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ |
| --libexec=\$${prefix}/lib/ \ |
| dh $@ --with systemd,autoreconf |
| rm -rf debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libbluetooth.la |
| rm -rf debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/plugins/sixaxis.la |
| dh_install --list-missing |
| override_dh_auto_configure: |
| dh_auto_configure -- $(CONFIGURE_FLAGS) |
| dh_installinit -pbluez --name=bluetooth --restart-after-upgrade |
| override_dh_systemd_enable: |
| dh_systemd_enable -pbluez bluetooth.service |
| override_dh_systemd_start: |
| dh_systemd_start -pbluez --restart-after-upgrade bluetooth.service |