mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-12-22 23:14:36 +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:
parent
a119e25a77
commit
478bf03343
4
Makefile
4
Makefile
@ -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 -----------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user