File: rules

package info (click to toggle)
pbcopper 0.4.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,416 kB
  • sloc: cpp: 47,036; ansic: 1,430; python: 331; sh: 176; makefile: 7
file content (16 lines) | stat: -rwxr-xr-x 386 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

#export DH_VERBOSE = 1

# needed to build consensuscore2
export DEB_CXXFLAGS_MAINT_APPEND=-fPIC

# The package FTBFS if we don't call the build directory "build"
%:
	dh $@ --builddirectory=build

# debhelper's cmake action is to run `make test`, which won't work
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	cd build && $(MAKE) check
endif