Mercurial > mplayer.hg
diff version.sh @ 21764:309992959801
avoid code duplication.
author | vayne |
---|---|
date | Thu, 28 Dec 2006 15:31:48 +0000 |
parents | 601bd947b61d |
children | 8ec12f1f0bd5 |
line wrap: on
line diff
--- a/version.sh Thu Dec 28 00:40:49 2006 +0000 +++ b/version.sh Thu Dec 28 15:31:48 2006 +0000 @@ -9,8 +9,10 @@ NEW_REVISION="#define VERSION \"dev-SVN-r${svn_revision}${extra}\"" OLD_REVISION=`cat version.h 2> /dev/null` +TITLE="#define MP_TITLE \"MPlayer dev-SVN-r${svn_revision}${extra} (C) 2000-2006 MPlayer Team\"" # Update version.h only on revision changes to avoid spurious rebuilds if test "$NEW_REVISION" != "$OLD_REVISION"; then echo "$NEW_REVISION" > version.h + echo "$TITLE" >> version.h fi