File: rules

package info (click to toggle)
sox 14.4.2%2Bgit20190427-3.5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,040 kB
  • sloc: ansic: 43,270; sh: 11,693; makefile: 340
file content (26 lines) | stat: -rwxr-xr-x 651 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
25
26
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

# Ignore test failure on mipsen, see #1030674
IGNORE_TEST_FAILURE=
ifneq (,$(filter mips%,$(DEB_BUILD_ARCH)))
	IGNORE_TEST_FAILURE=-
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-distro="$(shell dpkg-vendor --query vendor)" --with-dyn-default

override_dh_auto_test:
	$(IGNORE_TEST_FAILURE)env -C src sh tests.sh
	$(IGNORE_TEST_FAILURE)env -C src sh testall.sh

override_dh_bugfiles:
	dh_bugfiles -A