Mercurial > mplayer.hg
view version.sh @ 21318:c012ba4bf229
help messages:
r21306: fix compilation for win32 dll codec support for intel osx
r21328: localization of parser-m*cmd.c messages
r21332: insert line break for overly long line (second line indented)
man page:
r21221: improve description of x264's deadzone* options
r21228: fix typos noticed by Diego
r21254: nits and picks by The Wanderer :)
r21255: typo in deadzone_inter
r21298: "D" interactive key also works with yadif now
author | kraymer |
---|---|
date | Mon, 27 Nov 2006 17:22:31 +0000 |
parents | 601bd947b61d |
children | 309992959801 |
line wrap: on
line source
#!/bin/sh test "$1" && extra="-$1" svn_revision=`LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2` test $svn_revision || svn_revision=`grep revision .svn/entries | \ cut -d '"' -f2 2> /dev/null` test $svn_revision || svn_revision=UNKNOWN NEW_REVISION="#define VERSION \"dev-SVN-r${svn_revision}${extra}\"" OLD_REVISION=`cat version.h 2> /dev/null` # Update version.h only on revision changes to avoid spurious rebuilds if test "$NEW_REVISION" != "$OLD_REVISION"; then echo "$NEW_REVISION" > version.h fi