nagios-nrpe/debian/rules

35 lines
790 B
Plaintext
Raw Normal View History

2014-07-15 18:30:36 +02:00
#!/usr/bin/make -f
# newer dpkg set this by default.
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
2016-12-24 10:24:09 +01:00
# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
CFLAGS += $(CPPFLAGS)
export AUTOHEADER=true
2014-07-15 18:30:36 +02:00
%:
2017-06-22 16:50:52 +02:00
dh $@ --with autoreconf,systemd --parallel
# dh $@ --with autoreconf --parallel
2014-07-15 18:30:36 +02:00
override_dh_auto_configure:
2016-12-24 10:24:09 +01:00
dh_auto_configure -- \
2014-07-15 18:30:36 +02:00
--prefix=/usr \
--sysconfdir=/etc \
2016-06-24 12:24:47 +02:00
--libdir=/usr/lib/nagios \
2016-12-24 10:24:09 +01:00
--libexecdir=/usr/lib/nagios/plugins \
--localstatedir=/var \
--enable-ssl \
2017-06-18 13:39:05 +02:00
--with-need-dh=no \
2016-12-24 10:24:09 +01:00
--with-ssl-lib=/usr/lib/$(DEB_HOST_MULTIARCH) \
2017-06-20 10:42:04 +02:00
--with-piddir=/var/run/nagios \
2017-06-22 16:50:52 +02:00
--enable-command-args \
--enable-bash-command-substitution
2016-12-24 10:24:09 +01:00
override_dh_auto_build:
dh_auto_build -- all
2014-07-15 18:30:36 +02:00
override_dh_auto_install: