summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-03-07 07:51:19 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-03-07 07:51:19 (GMT)
commit925be151720885abad8845c00613900c2bdb1bee (patch)
tree2af26fba151113cf5e20a73ec4f474be2448ae1b /Makefile
parentaa5dae08443faefdff0945850ed7a40e845b84b5 (diff)
downloadmxe-925be151720885abad8845c00613900c2bdb1bee.zip
mxe-925be151720885abad8845c00613900c2bdb1bee.tar.gz
mxe-925be151720885abad8845c00613900c2bdb1bee.tar.bz2
use the shorter '--help' instead of '--version' to check for gsed
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9ddb2db..7d7f437 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ TMP_DIR = $(PWD)/tmp-$(1)
TOP_DIR := $(patsubst %/,%,$(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))))
PATH := $(PREFIX)/bin:$(PATH)
SHELL := bash
-SED := $(shell gsed --version >/dev/null 2>&1 && echo g)sed
+SED := $(shell gsed --help >/dev/null 2>&1 && echo g)sed
SHORT_PKG_VERSION = \
$(word 1,$(subst ., ,$($(1)_VERSION))).$(word 2,$(subst ., ,$($(1)_VERSION)))