nagios-nrpe/debian/rules

34 lines
754 B
Plaintext
Raw Permalink 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
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-09-03 10:52:40 +02:00
--with-logdir=/var/log \
2016-12-24 10:24:09 +01:00
--with-ssl-lib=/usr/lib/$(DEB_HOST_MULTIARCH) \
2018-01-10 10:38:38 +01:00
--with-piddir=/var/run/nagios \
--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: