File: rules

package info (click to toggle)
nagios-nrpe 4.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,764 kB
  • sloc: ansic: 6,024; sh: 4,164; makefile: 255; perl: 59
file content (31 lines) | stat: -rwxr-xr-x 644 bytes parent folder | download | duplicates (3)
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
29
30
31
#!/usr/bin/make -f

# newer dpkg set this by default.
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

CFLAGS += $(CPPFLAGS)

export AUTOHEADER=true

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libdir=/usr/lib/nagios \
		--libexecdir=/usr/lib/nagios/plugins \
		--localstatedir=/var \
		--enable-ssl \
		--with-logdir=/var/log \
		--with-ssl-lib=/usr/lib/$(DEB_HOST_MULTIARCH) \
		--with-piddir=/run/nagios

override_dh_auto_build:
	dh_auto_build -- all

override_dh_auto_install: