Date:2010-10-05 08:57:49 (13 years 5 months ago)
Author:Xiangfu Liu
Commit:4e4b3a81439df59cb0b4bf9a56475aae7cd0d7f9
Message:make the SVN_VERSION, SVN_STATUS run only once.

this can reduce warning "svn: '.' is not a working copy"
when we not in a svn repo.

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
Files: Makefile (1 diff)

Change Details

Makefile
4545YACC = bison -y
4646YYFLAGS = -v
4747
48SVN_VERSION=$(shell svn info -R | sed '/Last Changed Rev: /s///p;d' | \
48SVN_VERSION:=$(shell svn info -R | sed '/Last Changed Rev: /s///p;d' | \
4949    sort -r | sed 1q)
50SVN_STATUS=$(shell [ -z "`svn status -q`" ] || echo +)
50SVN_STATUS:=$(shell [ -z "`svn status -q`" ] || echo +)
5151
5252
5353# ----- Verbosity control -----------------------------------------------------

Archive Download the corresponding diff file

Branches:
master



interactive