File: rules

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

export DEB_BUILD_MAINT_OPTIONS := hardening=+all

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

override_dh_autoreconf:
	dh_autoreconf ./bootstrap -- \
		--gnulib-srcdir=/usr/share/gnulib --no-git --skip-po

# --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 \
		--disable-upstart

override_dh_auto_test:
	VERBOSE=1 dh_auto_test

override_dh_installinit:
	dh_installinit --error-handler=true