File: rules

package info (click to toggle)
qcom-phone-utils 0.4.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 212 kB
  • sloc: sh: 437; ansic: 123; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 594 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
  CONFIGURE_OPTS=-Dtests=true
else
  CONFIGURE_OPTS=-Dtests=false
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_OPTS)

override_dh_installsystemd:
	dh_installsystemd --name q6voiced --no-start --no-stop-on-upgrade --no-restart-after-upgrade
	dh_installsystemd --name qcom-modem-setup --no-start --no-stop-on-upgrade --no-restart-after-upgrade
	dh_installsystemd --name bootmac-bluetooth --no-start --no-stop-on-upgrade --no-restart-after-upgrade