[Pkg-nagios-changes] [pkg-nagios-plugins-contrib] 01/03: Handle php4nagios templates
Bernd Zeimetz
bernd at bzed.de
Tue Mar 10 09:07:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
bzed pushed a commit to branch master
in repository pkg-nagios-plugins-contrib.
commit 22073ab8be71df60eb36c954ab35635b0ddb1e3f
Author: Bernd Zeimetz <bernd at bzed.de>
Date: Tue Mar 10 09:45:46 2015 +0100
Handle php4nagios templates
---
common.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/common.mk b/common.mk
index 21798ee..1d598ae 100644
--- a/common.mk
+++ b/common.mk
@@ -9,6 +9,7 @@ LDFLAGS += $(shell dpkg-buildflags --get LDFLAGS)
PLUGINDIR := /usr/lib/nagios/plugins
CRONJOBDIR := /usr/lib/nagios/cronjobs
CONFIGDIR := /etc/nagios-plugins/config
+PNP4NAGIOSTEMPLATEDIR := /etc/pnp4nagios/templates.d/nagios-plugins-contrib
INIDIR := /etc/nagios-plugins
CONFIGFILES := $(wildcard *.cfg)
@@ -42,6 +43,10 @@ ifdef MANPAGES
install -m 644 -o root -g root $${m} $(DESTDIR)$${mandir} ;\
done
endif
+ifdef PNP4NAGIOSTEMPLATES
+ install -d $(DESTDIR)$(PNP4NAGIOSTEMPLATEDIR)
+ install -m 644 -o root -g root $(PNP4NAGIOSTEMPLATES) $(DESTDIR)$(PNP4NAGIOSTEMPLATEDIR)
+endif
ifdef INIFILES
install -d $(DESTDIR)$(INIDIR)
install -m 644 -o root -g root $(INIFILES) $(DESTDIR)$(INIDIR)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins-contrib.git
More information about the Pkg-nagios-changes
mailing list