File: rules

package info (click to toggle)
libbioparser-dev 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,884 kB
  • sloc: cpp: 1,294; makefile: 9
file content (16 lines) | stat: -rwxr-xr-x 322 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

# DH_VERBOSE := 1

DEB_CMAKE_EXTRA_FLAGS = -Dbioparser_build_tests=ON

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	set -e -x; for f in obj-*/bin/*_test; do [ ! -x $$f ] || $$f; done
endif