File: rules

package info (click to toggle)
gnome-bluetooth 3.34.5-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,288 kB
  • sloc: ansic: 9,014; python: 150; xml: 110; sh: 35; makefile: 20
file content (30 lines) | stat: -rwxr-xr-x 763 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

# needed with the Ubuntu toolchain to avoid issues
export DEB_LDFLAGS_MAINT_STRIP := -Wl,-Bsymbolic-functions

include /usr/share/dpkg/default.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-Dgtk_doc=true \
		-Dicon_update=false \
		-Dintrospection=false

override_dh_girepository:
	dh_girepository -l applet \
		/usr/lib/$(DEB_HOST_MULTIARCH)/gnome-bluetooth/

override_dh_auto_test:
	NO_AT_BRIDGE=1 env -u LD_PRELOAD xvfb-run -s -noreset dh_auto_test

override_dh_gencontrol-indep:
	dh_gencontrol -pgnome-bluetooth -- -v42~$(DEB_VERSION)
	dh_gencontrol -i --remaining-packages