#ifdef it all out so we compile with heimdal-0.7.2
[arla.git] / make-release
bloba885a66c3a24249d852353263ff0a149f070e3de
1 #!/bin/sh
2 # $Id$
4 if [ ! -f configure.in ]; then
5 echo "Must be in top directory"
6 exit 1
7 fi
9 if [ $# -ne 1 -a $# -ne 2 ]; then
10 echo "make-release version [branch]"
11 exit 1
14 if [ "$2" != "" ]; then
15 rev="-r $2"
16 elif [ -f CVS/Tag ]; then
17 rev="-r `cat CVS/Tag | sed 's/^T//'`"
20 HV="$1" emacs -batch -q -no-site-file -l ./make-release.el || exit
22 files="configure.in ChangeLog README LIESMICH doc/arla.texi"
24 echo cvs ci -m \"Release $1\" $files
25 cvs ci -m "Release $1" $files || exit 1
26 v=`echo $1 | sed 's/\./-/g'`
27 echo cvs rtag $rev arla-$v arla
28 cvs rtag $rev arla-$v arla || exit 1