File: rules

package info (click to toggle)
bluez 5.43-2+deb9u2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 15,556 kB
  • sloc: ansic: 304,409; sh: 11,511; python: 4,361; makefile: 696; xml: 126
file content (47 lines) | stat: -rwxr-xr-x 1,055 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/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-datafiles \
	--enable-debug \
	--enable-library \
	--enable-monitor \
	--enable-udev \
	--enable-obex \
	--enable-client \
	--enable-systemd \
	--enable-threads \
	--enable-sixaxis \
	--enable-experimental

%:
	dh $@ --with systemd,autoreconf

override_dh_install:
	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_strip:
	dh_strip -a --dbg-package=bluez-dbg libbluetooth3-dbg

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