File: rules

package info (click to toggle)
binfmt-support 2.1.6-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,056 kB
  • sloc: ansic: 23,481; sh: 5,157; python: 159; makefile: 132
file content (23 lines) | stat: -rwxr-xr-x 578 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
#! /usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS := hardening=+all

export V := 1

%:
	dh $@ --builddirectory=debian/build --with=autoreconf,systemd \
		--parallel

# --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

override_dh_auto_test:
	VERBOSE=1 dh_auto_test

override_dh_installinit:
	dh_installinit --error-handler=true