2003-12-17 Joel Sherrill <joel@OARcorp.com>

* release_support: Correct method used to find ChangeLog associated
        with the version.m4 files.  Keep going until I can get a tarball cut.
This commit is contained in:
Joel Sherrill
2003-12-17 20:54:51 +00:00
parent cdf8c44787
commit 69544b5650
2 changed files with 20 additions and 15 deletions

View File

@@ -1,3 +1,8 @@
2003-12-17 Joel Sherrill <joel@OARcorp.com>
* release_support: Correct method used to find ChangeLog associated
with the version.m4 files. Keep going until I can get a tarball cut.
2003-12-17 Joel Sherrill <joel@OARcorp.com>
* release_support: Use dirname not basedir. Keep going until I

View File

@@ -25,26 +25,26 @@ case $1 in
pretag)
release_name=$2
current=$3
for version_file in \
aclocal/version.m4 \
cpukit/aclocal/version.m4 \
c/src/aclocal/version.m4 \
cpukit/aclocal/version.m4
currentdir=`pwd`
for version_dir in . cpukit c/src testsuites
do
b=`dirname $version_file`/..
cat << EOF > $version_file
cd ${currentdir}/${version_dir}
cat << EOF > aclocal/version.m4
AC_DEFUN([RTEMS_VERSIONING],
m4_define([_RTEMS_VERSION],[${current}]))
EOF
( echo `date +"%Y-%m-%d"`" ${user_name}" ;
echo ;
echo " * ${version_file}: Updated to ${release_name}-${current}." ;
echo ) >YYY
cat YYY ${b}/ChangeLog >XXX
mv XXX ${b}/ChangeLog
cvs commit -F YYY ${b}/ChangeLog ${version_file}
rm -f YYY
( \
echo `date +"%Y-%m-%d"`" ${user_name}" ;
echo ;
echo " * aclocal/version.m4: Updated to ${release_name}-${current}." ;
echo \
) >YYY
cat YYY ChangeLog >XXX
mv XXX ChangeLog
cvs commit -F YYY ChangeLog aclocal/version.m4
rm -f YYY
done
cd ${currentdir}
;;
postexport)
# In order to prevent end users from having to have "developer" tools