File: rules

package info (click to toggle)
grantlee 0.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 4,132 kB
  • ctags: 2,808
  • sloc: cpp: 22,357; python: 338; sh: 108; ruby: 24; makefile: 19
file content (28 lines) | stat: -rwxr-xr-x 616 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
#!/usr/bin/make -f

DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)

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

%:
	dh $@ --parallel --with pkgkde_symbolshelper

override_dh_auto_configure:
	dh_auto_configure -- -DBUILD_TESTS=ON

ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
override_dh_auto_test:
	xvfb-run dh_auto_test $(fail_param)
endif

override_dh_makeshlibs:
	dh_makeshlibs -V -X/usr/lib/grantlee/

override_dh_install:
	dh_install --fail-missing

override_dh_strip:
	dh_strip --dbg-package=grantlee-dbg