--- a/Make.proto Tue Oct 11 13:02:04 2011 +0200
+++ b/Make.proto Tue Oct 11 13:02:18 2011 +0200
@@ -1,7 +1,7 @@
-# $Header: /cvs/stx/stx/libbasic3/Make.proto,v 1.113 2011-09-29 15:24:58 cg Exp $
+# $Header: /cvs/stx/stx/libbasic3/Make.proto,v 1.114 2011-10-11 11:02:18 vrany Exp $
#
# DO NOT EDIT
-# automagically generated from the projectDefinition: stx_libbasic3 at 2011-09-29 17:24:56.739.
+# automagically generated from the projectDefinition: stx_libbasic3 at 2011-10-11 12:01:51.638.
#
# Warning: once you modify this file, do not rerun
# stmkmp or projectDefinition-build again - otherwise, your changes are lost.
@@ -68,10 +68,12 @@
update-svn-revision:
- if [ ! -r .svnversion -o "$(shell svnversion -n)" != "$(shell cat .svnversion)" ]; then \
- svnversion -n > .svnversion; \
- sed -i -e "s/\"\$$SVN\-Revision:\".*\"\$$\"/\"\$$SVN-Revision:\"'$(shell svnversion -n)'\"\$$\"/g" \
- stx_libbasic3.st; \
+ if [ -d .svn ]; then \
+ if [ ! -r .svnversion -o "$(shell svnversion -n)" != "$(shell cat .svnversion)" ]; then \
+ svnversion -n > .svnversion; \
+ sed -i -e "s/\"\$$SVN\-Revision:\".*\"\$$\"/\"\$$SVN-Revision:\"'$(shell svnversion -n)'\"\$$\"/g" \
+ stx_libbasic3.st; \
+ fi \
fi
.PHONY: update-svn-revision