File: rules

package info (click to toggle)
binfmt-support 2.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,056 kB
  • sloc: ansic: 31,469; sh: 6,548; python: 166; makefile: 135
file content (21 lines) | stat: -rwxr-xr-x 544 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
#! /usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS := hardening=+all

%:
	dh $@ --builddirectory=debian/build

# --libexecdir is set here because debhelper defaults to using multiarch
# paths at compat level 9, which is a reasonable choice in general but
# unnecessary here.
override_dh_auto_configure:
	dh_auto_configure -- \
		--libexecdir=\$${prefix}/lib \
		--with-systemdsystemunitdir=/lib/systemd/system \
		--disable-upstart

override_dh_auto_test:
	VERBOSE=1 dh_auto_test

override_dh_installinit:
	dh_installinit --error-handler=true