TR ?= tr
FIND ?= find
DIFF ?= diff
+SED ?= sed
# optional:
SVNVERSION ?= svnversion
RADIANT_MAJOR_VERSION = 5
RADIANT_MINOR_VERSION = 0
-SVN_VERSION := $(shell $(SVNVERSION) -n $(STDERR_TO_DEVNULL) | $(TR) -cd 0-9:)
+SVN_VERSION := $(shell $(SVNVERSION) -n $(STDERR_TO_DEVNULL) | $(SED) 's/M$$//g; s/.*://g;')
ifneq ($(SVN_VERSION),)
RADIANT_VERSION := $(RADIANT_VERSION)-svn$(SVN_VERSION)
endif
checkbinary coreutils "$(RM)"; \
checkbinary coreutils "$(RM_R)"; \
checkbinary coreutils "$(ECHO) test $(TEE_STDERR)"; \
- checkbinary coreutils "$(TR)"; \
+ checkbinary sed "$(SED)"; \
checkbinary findutils "$(FIND)"; \
checkbinary diff "$(DIFF)"; \
checkbinary gcc "$(CC)"; \