Skip to content

Commit 4c8f38d

Browse files
author
Michi Henning
committed
Added debian/rules.
1 parent 6d1e2a3 commit 4c8f38d

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

debian/rules

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/usr/bin/make -f
2+
# -*- makefile -*-
3+
4+
# Uncomment this to turn on verbose mode.
5+
#export DH_VERBOSE=1
6+
7+
export DPKG_GENSYMBOLS_CHECK_LEVEL=4
8+
9+
# http://ccache.samba.org/manual.html#_precompiled_headers
10+
export CCACHE_SLOPPINESS=time_macros
11+
12+
export QT_SELECT=qt5
13+
14+
%:
15+
dh $@ --parallel --fail-missing
16+
17+
override_dh_auto_configure:
18+
dh_auto_configure -- -DCMAKE_INSTALL_SYSCONFDIR=/etc
19+
20+
# Tests are not written to be run in parallel.
21+
# We ignore failing tests on PPC and s390x because the storage-framework is irrelevant there.
22+
test_args = --max-parallel=1 -- ARGS=\"--verbose\"
23+
override_dh_auto_test:
24+
ifneq (,$(filter powerpc ppc64el s390x,$(DEB_HOST_ARCH)))
25+
dh_auto_test $(test_args) || :
26+
else
27+
dh_auto_test $(test_args)
28+
endif

0 commit comments

Comments
 (0)