Use new make targets "server", "client", and "plugins"
authorAlexander Barton <alex@barton.de>
Tue, 15 Nov 2011 11:13:37 +0000 (12:13 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 15 Nov 2011 11:13:37 +0000 (12:13 +0100)
Makefile

index 3256507..264532e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@
 # Please read the file COPYING, README and AUTHORS for more information.
 #
 
-all:
+all: server client plugins
 
 clean:
        find . -name .DS_Store -delete
@@ -23,7 +23,7 @@ install:
 
 install-all: install-server install-client
 
-install-server:
+install-server: server
        install -d -o nagios -g nagios -m 750 /var/lib/nagios3/collect
        [ -r /etc/nagios3/system.cfg ] || \
         install -D -o nagios -g root -m 640 -p \
@@ -40,7 +40,7 @@ install-server:
        [ -r contrib/Makefile.`uname` ] \
                && make -f contrib/Makefile.`uname` "install-server" || true
 
-install-client:
+install-client: client
        install -d -o 0 -g 0 -m 755 /usr/local/sbin
        install -c -o 0 -g 0 -m 755 -p \
                client/bin/nagcollect /usr/local/sbin/nagcollect