File: rules

package info (click to toggle)
iitii 0.0%2Bgit20191030.85209e0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 416 kB
  • sloc: cpp: 1,257; ansic: 395; sh: 22; makefile: 11
file content (21 lines) | stat: -rwxr-xr-x 460 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8

include /usr/share/dpkg/default.mk

# for hardening you might like to uncomment this:
# export DEB_BUILD_MAINT_OPTIONS=hardening=+all

CMAKE_EXTRA_FLAGS += -DDEBIAN_BUILD=1

%:
	dh $@

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	cp $(CURDIR)/debian/missing-sources/htslib/* test
	cp $(CURDIR)/debian/missing-sources/ctpl/*.h test
	cd test && cmake . && make || true
endif