]> gcc.gnu.org Git - gcc.git/blobdiff - maintainer-scripts/update_version
2004-06-28 Paolo Carlini <pcarlini@suse.de>
[gcc.git] / maintainer-scripts / update_version
index bde683eb8ec0a1bd1c2d1abcf565b474dbf6fa7e..8898dc02dd76e9d83724a113b416937745cb03c0 100755 (executable)
@@ -1,7 +1,13 @@
-#!/bin/sh 
+#!/bin/sh
+#
+# Update the current version date in all files in the tree containing
+# it.  Consider all release branches except those matching the regular
+# expression in $IGNORE_BRANCHES, and also consider those branches listed
+# in $ADD_BRANCHES.
 
 CVSROOT=${CVSROOT:-/cvs/gcc}
 IGNORE_BRANCHES='gcc-(2_95|3_0|3_1|3_2)-branch'
+ADD_BRANCHES='HEAD lno-branch'
 
 # Run this from /tmp.
 export CVSROOT
@@ -19,13 +25,13 @@ BRANCHES=`$CVS status -v gcc/ChangeLog \
           | egrep 'gcc-[0-9]+_[0-9]+-branch$' \
           | egrep -v $IGNORE_BRANCHES`
 # Always update the mainline.
-BRANCHES="${BRANCHES} HEAD"
+BRANCHES="${BRANCHES} ${ADD_BRANCHES}"
 
 # ARGS is passed to 'cvs co'
 CURR_DATE=`/bin/date +"%Y%m%d"`
 
 # version is contained within a char*
-textstring_FILES="gcc/gcc/version.c gcc/gcc/ada/gnatvsn.ads gcc/gcc/f/version.c gcc/libf2c/libF77/Version.c gcc/libf2c/libI77/Version.c gcc/libf2c/libU77/Version.c"
+textstring_FILES="gcc/gcc/version.c"
 
 # version is contained within a #define
 cppdefine_FILES="gcc/libstdc++-v3/include/bits/c++config"
This page took 0.027489 seconds and 5 git commands to generate.