File: rules

package info (click to toggle)
libtoxcore 0.2.20-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,124 kB
  • sloc: ansic: 75,034; cpp: 4,933; sh: 1,115; python: 651; makefile: 329; perl: 39
file content (25 lines) | stat: -rwxr-xr-x 583 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f
#export DH_VERBOSE = 1


export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND =


%:
	dh $@ --buildsystem=cmake

.PHONY: build
build:
	dh build --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- -DTEST_TIMEOUT_SECONDS=120 -DSTRICT_ABI=ON -DMUST_BUILD_TOXAV=ON

# iphy@#toktok: some of the tests use 100 ports
# And tox limits the range of ports it tries to 33445-33545 (101 ports)
#override_dh_auto_test:
#	dh_auto_test --no-parallel
# buggy - fail nearly everytime