File: rules

package info (click to toggle)
readerwriterqueue 1.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 440 kB
  • sloc: cpp: 3,342; makefile: 73
file content (19 lines) | stat: -rwxr-xr-x 403 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem=cmake

override_dh_auto_build:
	$(MAKE) -C tests/unittests/
	$(MAKE) -C benchmarks/

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	echo | ./tests/unittests/unittests
	benchmarks/benchmarks
endif

execute_before_dh_install:
	find debian/ -name "LICENSE.md" -delete