Mercurial > mplayer.hg
changeset 28332:7f31bbff8ddb
Drop dev- prefix from printed version number, just SVN-rXXXXX is enough.
author | diego |
---|---|
date | Sun, 25 Jan 2009 23:31:45 +0000 |
parents | 8461282f0eed |
children | 0ec2ac66f064 |
files | version.sh |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/version.sh Sun Jan 25 22:52:00 2009 +0000 +++ b/version.sh Sun Jan 25 23:31:45 2009 +0000 @@ -7,9 +7,9 @@ test $svn_revision || svn_revision=`sed -n -e '/^dir$/{n;p;q;}' .svn/entries 2>/dev/null` test $svn_revision || svn_revision=UNKNOWN -NEW_REVISION="#define VERSION \"dev-SVN-r${svn_revision}${extra}\"" +NEW_REVISION="#define VERSION \"SVN-r${svn_revision}${extra}\"" OLD_REVISION=`cat version.h 2> /dev/null` -TITLE="#define MP_TITLE \"%s dev-SVN-r${svn_revision}${extra} (C) 2000-2009 MPlayer Team\\\n\"" +TITLE="#define MP_TITLE \"%s SVN-r${svn_revision}${extra} (C) 2000-2009 MPlayer Team\\\n\"" # Update version.h only on revision changes to avoid spurious rebuilds if test "$NEW_REVISION" != "$OLD_REVISION"; then