| 1 | #!/usr/bin/make -f |
| 2 | #export DH_VERBOSE = 1 |
| 3 | |
| 4 | |
| 5 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 6 | |
| 7 | export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 8 | export DEB_LDFLAGS_MAINT_APPEND = |
| 9 | |
| 10 | |
| 11 | %: |
| 12 | dh $@ --buildsystem=cmake |
| 13 | |
| 14 | .PHONY: build |
| 15 | build: |
| 16 | dh build --buildsystem=cmake |
| 17 | |
| 18 | override_dh_auto_configure: |
| 19 | dh_auto_configure -- -DTEST_TIMEOUT_SECONDS=120 -DSTRICT_ABI=ON -DMUST_BUILD_TOXAV=ON |
| 20 | |
| 21 | # iphy@#toktok: some of the tests use 100 ports |
| 22 | # And tox limits the range of ports it tries to 33445-33545 (101 ports) |
| 23 | #override_dh_auto_test: |
| 24 | # dh_auto_test --no-parallel |
| 25 | # buggy - fail nearly everytime |