File: rules

package info (click to toggle)
dbus-broker 26-1%2Bdeb11u2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,060 kB
  • sloc: ansic: 29,289; makefile: 123; sh: 33
file content (29 lines) | stat: -rwxr-xr-x 746 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

ifneq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
BUILD_DOCS=false
else
ifneq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
BUILD_DOCS=false
# to stop dh_installdoc from running
export DEB_BUILD_PROFILES += nodoc
else
BUILD_DOCS=true
endif
endif

%:
	dh $@ --buildsystem=meson

override_dh_auto_configure:
	dh_auto_configure -- -Ddocs=$(BUILD_DOCS) -Daudit=true -Dselinux=true -Dlauncher=true -Dlinux-4-17=true

override_dh_installchangelogs:
	dh_installchangelogs NEWS.md

# like dbus-deamon dbus-broker does not support being restarted
# yet. do not restart the deamon on upgrading to a new version
override_dh_installsystemd:
	dh_installsystemd --no-stop-on-upgrade --no-start