Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # DH_VERBOSE := 1
4
5 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
6 export DEB_LDFLAGS_MAINT_APPEND+=-pthread
7
8 %:
9 dh $@
10
11 override_dh_auto_configure:
12 dh_auto_configure -- -Dthread_pool_build_tests=ON
13
14 override_dh_auto_test:
15 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
16 ./obj-*/bin/thread_pool_test
17 endif