From: Alexander Barton Date: Sun, 13 Dec 2009 17:47:43 +0000 (+0100) Subject: Make "make install-client" BSD-compatible and more portable X-Git-Tag: rel-2~41 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=nagcollect.git;a=commitdiff_plain;h=fab3f64d4e4c9ef445741ba7753031413c25b2d1 Make "make install-client" BSD-compatible and more portable --- diff --git a/Makefile b/Makefile index 8a1ed0a..cbf982c 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,9 @@ install-server: server/web/nagcollect.php /var/www/nagcollect.php install-client: - install -D -o 0 -g 0 -m 755 -p \ + 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 .PHONY: all install-server install-client