aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6ec3100..ee9aa3c 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ pkgdir = $(libdir)/sitesummary
collectordir = $(pkgdir)/collect.d
perldir = $(datadir)/perl5
pkgvardir = /var/lib/sitesummary
+nagiosplugdir= $(pkgdir)/nagios-plugins
INSTALL = install
INSTALL_DATA = $(INSTALL) -m 644
@@ -83,6 +84,11 @@ install-client:
$(INSTALL) $$collector $(DESTDIR)$(collectordir); \
done
+ $(INSTALL) -d $(DESTDIR)$(nagiosplugdir)
+ for plugin in nagios-plugins/* ; do \
+ $(INSTALL) $$plugin $(DESTDIR)$(nagiosplugdir); \
+ done
+
clean:
$(RM) *~ */*~
distclean: clean