File: rules

package info (click to toggle)
freebayes 1.3.9-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,980 kB
  • sloc: cpp: 125,778; ansic: 4,581; sh: 1,084; python: 672; asm: 271; javascript: 94; lisp: 85; makefile: 37; perl: 27
file content (24 lines) | stat: -rwxr-xr-x 674 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
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DEB_CXXFLAGS_MAINT_APPEND=-I/usr/include/fastahack

# testsuite assumes binaries to be tested are under build/
%:
	dh $@ --buildsystem=meson --builddir=build

execute_before_dh_auto_configure:
	cp -a debian/ext/* contrib/

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	mkdir -p test/bash-tap/
	ln -s -t test/bash-tap $(CURDIR)/debian/bash-tap/*
	mkdir -p test/test-simple-bash
	ln -s -t test/test-simple-bash $(CURDIR)/debian/test-simple-bash/*

	dh_auto_test -- -v --timeout-multiplier 100
	find . -name core -delete

	rm -Rf test/bash-tap
	rm -Rf test/test-simple-bash
endif