equal
deleted
inserted
replaced
256 UNITTEST=unit_test$(EXE) |
256 UNITTEST=unit_test$(EXE) |
257 |
257 |
258 ifdef RELEASE |
258 ifdef RELEASE |
259 REV:=$(RELEASE) |
259 REV:=$(RELEASE) |
260 else |
260 else |
261 REV := $(shell if test -d .svn; then svnversion . | awk '{ print "r"$$0 }'; fi) |
261 ifeq ($(shell if test -d .svn; then echo 1; fi), 1) |
|
262 REV_MODIFIED := $(shell svnversion . | grep -o M) |
|
263 REV := $(shell LC_ALL=C svn info | awk '/^URL:.*branch/ { BRANCH="-"a[split($$2, a, "/")] } /^Last Changed Rev:/ { REV="r"$$4"$(REV_MODIFIED)" } END { print REV BRANCH }') |
|
264 endif |
262 endif |
265 endif |
263 |
266 |
264 # define flag to use for -lrt (some OSes overwrites this later for compatibility) |
267 # define flag to use for -lrt (some OSes overwrites this later for compatibility) |
265 ifndef LRT |
268 ifndef LRT |
266 ifndef MORPHOS |
269 ifndef MORPHOS |