Browse Source

svn revision 00000 to exported (no need for backport)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68141 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 9 years ago
parent
commit
5bdd230e19
3 changed files with 649 additions and 696 deletions
  1. 644 693
      configure
  2. 4 2
      configure.in
  3. 1 1
      lib/init/Makefile

File diff suppressed because it is too large
+ 644 - 693
configure


+ 4 - 2
configure.in

@@ -126,12 +126,14 @@ changequote(,)
 LIB_VER=`echo ${GRASS_VERSION_NUMBER} | sed 's/^\([0-9.]*\).*$/\1/'`
 changequote([,])
 
-GRASS_VERSION_SVN=00000
+GRASS_VERSION_SVN="exported"
 AC_PATH_PROG(SVN_VERSION, svnversion, no)
 if test "$SVN_VERSION" != "no" ; then
    GRASS_VERSION_SVN=`$SVN_VERSION -c | cut -f2 -d:`
    if test "$GRASS_VERSION_SVN" = "exported" -o "$GRASS_VERSION_SVN" = "Unversioned directory" ; then
-      GRASS_VERSION_SVN=00000
+      GRASS_VERSION_SVN="exported"
+   else
+      GRASS_VERSION_SVN="r$GRASS_VERSION_SVN"
    fi
 fi
 

+ 1 - 1
lib/init/Makefile

@@ -96,7 +96,7 @@ $(ETC)/winlocale$(EXE): $(OBJDIR)/winlocale.o
 $(ETC)/VERSIONNUMBER:
 	rm -f $@
 	@if [ -n "$(GRASS_VERSION_SVN)" ] ; then \
-		echo "$(GRASS_VERSION_NUMBER) r$(GRASS_VERSION_SVN)" > $@ ; \
+		echo "$(GRASS_VERSION_NUMBER) $(GRASS_VERSION_SVN)" > $@ ; \
 	else \
 		echo "$(GRASS_VERSION_NUMBER)" > $@ ; \
 	fi