File: rules

package info (click to toggle)
acl 2.2.53-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,780 kB
  • sloc: ansic: 5,867; sh: 5,188; perl: 279; makefile: 49; sed: 16
file content (31 lines) | stat: -rwxr-xr-x 704 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
27
28
29
30
31
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# The following architectures still fail the test suite:
#   hurd-any
#     (operation not supported)
#   kfreebsd-any
#     (function not implemented, BSD directory inheritance semantics)
ifneq (,$(filter $(DEB_HOST_ARCH_OS),hurd kfreebsd))
  TESTS_FLAKY = yes
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --bindir=/bin

override_dh_auto_test:
ifeq ($(TESTS_FLAKY),yes)
	@echo "Notice: Running tests in flaky mode, errors will be ignored."
endif
	$(if $(TESTS_FLAKY),-)dh_auto_test

override_dh_installchangelogs:
	dh_installchangelogs doc/CHANGES