Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
Handle php4nagios templates
Browse files Browse the repository at this point in the history
  • Loading branch information
bzed committed Mar 10, 2015
1 parent d33acc6 commit 22073ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common.mk
Expand Up @@ -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)

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 22073ab

Please sign in to comment.