1 all: generated/nrpe_dsa.cfg deb
3 generated/nrpe_dsa.cfg: nagios-master.cfg build-nagios
4 @[ -d generated ] || mkdir generated
5 @echo "building nagios ..."
6 ./build-nagios || ( rm $@ ; false )
12 install: generated/nrpe_dsa.cfg
13 @[ "$$(hostname -f)" = 'draghi.debian.org' ] || (echo "just git push"; exit 1)
14 @rsync -avHz --delete-before --ignore-errors generated static puppet@handel.debian.org:draghi.debian.org/nagiosconfig
15 @rsync -avHz --delete-before --ignore-errors generated static nagiosadm@tchaikovsky.debian.org:/srv/nagios.debian.org/config-pushed/.
16 @ssh nagiosadm@tchaikovsky.debian.org icinga-reload