moved to to avoid CVS-XXYYZZ- versions (if no given) - altought this comment is bigger than the patch :)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7448 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-09-20 12:50:04 +00:00
parent 1637590528
commit b1ff2c5589
1 changed files with 5 additions and 1 deletions

View File

@ -9,4 +9,8 @@ elif test `uname -s` = 'Darwin' ; then
last_cvs_update=`date +%y%m%d-%H:%M` last_cvs_update=`date +%y%m%d-%H:%M`
fi fi
echo "#define VERSION \"CVS-${last_cvs_update}-$1 \"" >version.h extra=""
if test $1 ; then
extra="-$1"
fi
echo "#define VERSION \"CVS-${last_cvs_update}${extra} \"" >version.h