summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-03-07 07:52:50 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-03-07 07:52:50 (GMT)
commitfe9811173cf913eb0cd9b4395d2ede1a51803c61 (patch)
tree74ca4bb1c4c4bfe46a20fa5d81954e8935ac2943 /Makefile
parent925be151720885abad8845c00613900c2bdb1bee (diff)
downloadmxe-fe9811173cf913eb0cd9b4395d2ede1a51803c61.zip
mxe-fe9811173cf913eb0cd9b4395d2ede1a51803c61.tar.gz
mxe-fe9811173cf913eb0cd9b4395d2ede1a51803c61.tar.bz2
portability fix for Open Solaris: when "ginstall" exists, use that instead of "install"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7d7f437..f495c5a 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,7 @@ TOP_DIR := $(patsubst %/,%,$(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIS
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)))