File: rules

package info (click to toggle)
kf6-baloo 6.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,668 kB
  • sloc: cpp: 25,376; sh: 23; makefile: 17; xml: 15
file content (27 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
24
25
26
27
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# positioncodectest fails on big endian architectures
ifeq (big,$(DEB_HOST_ARCH_ENDIAN))
  fail_param := || true
endif
# general failures not related to endianness
testsuite_failing_archs := \
		armhf \
		loong64 \
		riscv64 \

ifneq (,$(filter $(DEB_HOST_ARCH),$(testsuite_failing_archs)))
  fail_param := || true
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DBUILD_QCH=ON

override_dh_auto_test:
	- dbus-run-session -- dh_auto_test --buildsystem=kf6 $(fail_param)