Add Makefile for installing the client on Linux
authorAlexander Barton <alex@barton.de>
Thu, 6 Oct 2011 14:45:21 +0000 (16:45 +0200)
committerAlexander Barton <alex@barton.de>
Thu, 6 Oct 2011 14:45:21 +0000 (16:45 +0200)
contrib/Makefile.Linux [new file with mode: 0644]

diff --git a/contrib/Makefile.Linux b/contrib/Makefile.Linux
new file mode 100644 (file)
index 0000000..a56230a
--- /dev/null
@@ -0,0 +1,13 @@
+#
+# NagCollect -- Nagios Data Collector for Passive Checks
+# Copyright (c)2009,2011 Alexander Barton, alex@barton.de
+#
+
+install-client:
+       install -d -o 0 -g 0 -m 755 /etc/cron.d
+       install -c -o 0 -g 0 -m 644 -p client/lib/nagcollect.cron \
+               /etc/cron.d/nagcollect
+
+.PHONY: install-client
+
+# -eof-