blob: b3de51f7352cd304e95206d1bb867b577026e412 [file] [log] [blame]
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
CONFIGURE_FLAGS := \
--disable-silent-rules \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
--libexec=\$${prefix}/lib/ \
--enable-static \
--enable-tools \
--enable-cups \
--enable-midi \
--enable-datafiles \
--enable-threads \
--enable-backtrace \
--enable-debug \
--enable-library \
--enable-test \
--enable-nfc \
--enable-sap \
--enable-monitor \
--enable-udev \
--enable-obex \
--enable-client \
--enable-testing \
--enable-systemd \
--enable-threads \
--enable-sixaxis \
--enable-deprecated \
--enable-health \
--enable-experimental
%:
dh $@ --with systemd,autoreconf
override_dh_install:
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)
override_dh_installinit:
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
override_dh_auto_test:
# disable