defs.mk.in fix: $(call version,$(TARGET_DIR)) introduced strange leading whitespace

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2014-10-12 13:33:44 +00:00
commit 9433aff8ee

View file

@ -641,13 +641,9 @@ define beautify_lib_path
endef
ifeq ($(INCLUDE_REV_IN_VERSIONS),true)
define version
$(shell $(CAT) $1/VERSION | $(SED) 's/-dev//')
endef
version = $(shell $(CAT) $1/VERSION | $(SED) 's/-dev//; s/[ ]*//g')
else
define version
$(shell $(CAT) $1/VERSION | $(SED) 's/-.*//')
endef
version = $(shell $(CAT) $1/VERSION | $(SED) 's/-.*//; s/[ ]*//g')
endif
define install_links