Makefile: use ginstall on Solaris
authorJens Axboe <axboe@kernel.dk>
Fri, 5 Apr 2013 20:13:42 +0000 (22:13 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Apr 2013 20:13:42 +0000 (22:13 +0200)
Regular install just doesn't seem to like man pages?!

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Makefile

index 15455052a7011857f619c0938875d761a96da103..a5322a9c5fd0a22e3098028ee78f7b795d18fadc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -167,7 +167,11 @@ ifndef V
 endif
 endif
 
 endif
 endif
 
-INSTALL = install
+ifeq ($(CONFIG_TARGET_OS), SunOS)
+       INSTALL = ginstall
+else
+       INSTALL = install
+endif
 prefix = /usr/local
 bindir = $(prefix)/bin
 
 prefix = /usr/local
 bindir = $(prefix)/bin