File: rules

package info (click to toggle)
librdkafka 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 10,140 kB
  • sloc: ansic: 96,754; cpp: 11,419; sh: 3,278; python: 1,542; makefile: 531; java: 181
file content (28 lines) | stat: -rwxr-xr-x 703 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
28
#!/usr/bin/make -f

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

export DPKG_EXPORT_BUILDFLAGS=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow

include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_auto_configure:
	# There is no --runstatedir=/run in configure, so we do it manually here.
	./configure \
		--build $(DEB_BUILD_GNU_TYPE) \
		--prefix=/usr \
		--includedir=/usr/include \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-silent-rules \
		--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
		--libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
		--disable-maintainer-mode \
		--disable-dependency-tracking