File: rules

package info (click to toggle)
dbus-broker 37-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,224 kB
  • sloc: ansic: 32,663; makefile: 146; sh: 56; python: 44
file content (31 lines) | stat: -rwxr-xr-x 808 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f

include /usr/share/debhelper/dh_package_notes/package-notes.mk

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 -Dapparmor=true -Dlauncher=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