File: rules

package info (click to toggle)
libbtbb 2015.09.R2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,396 kB
  • ctags: 2,047
  • sloc: ansic: 9,645; python: 922; sh: 170; makefile: 143; ruby: 21
file content (27 lines) | stat: -rwxr-xr-x 571 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
22
23
24
25
26
27
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export DEB_BUILD_MAINT_OPTIONS = hardening=+all


DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
	dh $@ --buildsystem cmake

override_dh_auto_clean:
	rm -rf python/pcaptools/build
	dh_auto_clean

override_dh_auto_configure:
	dh_auto_configure -- -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) \

override_dh_auto_install:
	dh_auto_install

override_dh_strip:
	dh_strip -plibbtbb0 --keep-debug --dbg-package=libbtbb0-dbg