1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-11-06 01:41:54 +02:00

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>



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5980 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
werner 2010-10-12 15:40:57 +00:00
parent a119e25a77
commit 478bf03343

View File

@ -45,9 +45,9 @@ LDLIBS = -lm -lfl $(LIBS_GTK)
YACC = bison -y
YYFLAGS = -v
SVN_VERSION=$(shell svn info -R | sed '/Last Changed Rev: /s///p;d' | \
SVN_VERSION:=$(shell svn info -R | sed '/Last Changed Rev: /s///p;d' | \
sort -r | sed 1q)
SVN_STATUS=$(shell [ -z "`svn status -q`" ] || echo +)
SVN_STATUS:=$(shell [ -z "`svn status -q`" ] || echo +)
# ----- Verbosity control -----------------------------------------------------