diff Makefile @ 285:08a32251156c

portability fix for Open Solaris: when "ginstall" exists, use that instead of "install"
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 07 Mar 2009 08:52:50 +0100
parents eb5d52f8c620
children 92ac81dea92d
line wrap: on
line diff
--- a/Makefile	Sat Mar 07 08:51:19 2009 +0100
+++ b/Makefile	Sat Mar 07 08:52:50 2009 +0100
@@ -13,6 +13,7 @@
 PATH    := $(PREFIX)/bin:$(PATH)
 SHELL   := bash
 SED     := $(shell gsed --help >/dev/null 2>&1 && echo g)sed
+INSTALL := $(shell ginstall --help >/dev/null 2>&1 && echo g)install
 
 SHORT_PKG_VERSION = \
     $(word 1,$(subst ., ,$($(1)_VERSION))).$(word 2,$(subst ., ,$($(1)_VERSION)))