r5980 - trunk/eda/fped

werner at docs.openmoko.org werner at docs.openmoko.org
Tue Oct 12 17:40:57 CEST 2010


Author: werner
Date: 2010-10-12 17:40:57 +0200 (Tue, 12 Oct 2010)
New Revision: 5980

Modified:
   trunk/eda/fped/Makefile
Log:
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 at sharism.cc>



Modified: trunk/eda/fped/Makefile
===================================================================
--- trunk/eda/fped/Makefile	2010-10-12 15:39:32 UTC (rev 5979)
+++ trunk/eda/fped/Makefile	2010-10-12 15:40:57 UTC (rev 5980)
@@ -45,9 +45,9 @@
 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 -----------------------------------------------------




More information about the commitlog mailing list