equal
deleted
inserted
replaced
154 # Are we a SVN dir? |
154 # Are we a SVN dir? |
155 ifeq ($(shell if test -d $(SRC_DIR)/.svn; then echo 1; fi), 1) |
155 ifeq ($(shell if test -d $(SRC_DIR)/.svn; then echo 1; fi), 1) |
156 # Find if the local source if modified |
156 # Find if the local source if modified |
157 REV_MODIFIED := $(shell svnversion $(SRC_DIR) | sed -n 's/.*\(M\).*/\1/p' ) |
157 REV_MODIFIED := $(shell svnversion $(SRC_DIR) | sed -n 's/.*\(M\).*/\1/p' ) |
158 # Find the revision like: rXXXX-branch |
158 # Find the revision like: rXXXX-branch |
159 REV := $(shell LC_ALL=C svn info $(SRC_DIR) | $(AWK) '/^URL:.*branches/ { split($$2, a, "/"); i=1; while(i<length(a) && a[i++]!="branches"); BRANCH="-"a[i] } /^Last Changed Rev:/ { REV="r"$$4"$(REV_MODIFIED)" } END { print REV BRANCH }') |
159 REV := $(shell LC_ALL=C svn info $(SRC_DIR) | $(AWK) '/^URL:.*branches/ { split($$2, a, "/"); for (i in a) if(a[i]=="branches") { BRANCH="-"a[i+1]; break } } /^Last Changed Rev:/ { REV="r"$$4"$(REV_MODIFIED)" } END { print REV BRANCH }') |
160 endif |
160 endif |
161 endif |
161 endif |
162 # Make sure we have something in REV |
162 # Make sure we have something in REV |
163 ifeq ($(REV),) |
163 ifeq ($(REV),) |
164 REV := norev000 |
164 REV := norev000 |