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:14:24 +0000 (22:14 +0200)
Regular install just doesn't seem to like man pages?!

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

index 27e82c660a665b4d18ca2949e8c639ab5f5c9001..cffc23ae17a744f07ff57e5fe8fb18a20da4c0bd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -164,7 +164,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