File: rules

package info (click to toggle)
binfmt-support 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,716 kB
  • sloc: ansic: 26,594; sh: 6,045; python: 159; makefile: 136
file content (22 lines) | stat: -rwxr-xr-x 585 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS := hardening=+all

%:
	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 \
		--disable-upstart

override_dh_auto_test:
	VERBOSE=1 dh_auto_test

override_dh_installinit:
	dh_installinit --error-handler=true